fix ruby linking on debian (ESL-7)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12805 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-27 15:29:50 +00:00
parent 0ea0f8c5cb
commit 0edf25e0bd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
## no idea how to simply ask ruby which one to use
LOCAL_CFLAGS=-I$(shell ruby -e 'require "rbconfig"; puts RbConfig::CONFIG["topdir"]')
LOCAL_LDFLAGS=-lruby
LOCAL_LDFLAGS=$(shell ruby -e 'require "rbconfig"; puts RbConfig::CONFIG["LIBRUBYARG"]')
all: ESL.so