From: Michael Jerris Date: Fri, 27 Mar 2009 15:29:50 +0000 (+0000) Subject: fix ruby linking on debian (ESL-7) X-Git-Tag: v1.0.4~1366 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0edf25e0bda22a11d63ed4e7858562521f7871b9;p=thirdparty%2Ffreeswitch.git fix ruby linking on debian (ESL-7) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12805 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/ruby/Makefile b/libs/esl/ruby/Makefile index 2aba987178..50d1f4c57d 100644 --- a/libs/esl/ruby/Makefile +++ b/libs/esl/ruby/Makefile @@ -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