allows building the ruby plugin on heroku [2]

This commit is contained in:
Unbit
2013-03-02 16:14:32 +01:00
parent 764af285d3
commit 7435235502
+1 -1
View File
@@ -45,6 +45,6 @@ if has_shared == 'yes':
os.environ['LD_RUN_PATH'] = libpath
LIBS = os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip().split()
else:
LIBS = []
LIBS = ['-lrt']
GCC_LIST.append("%s/%s" % (libpath, os.popen(RUBYPATH + " -e \"require 'rbconfig';print %s::CONFIG['LIBRUBY_A']\"" % rbconfig).read().rstrip()))