diff --git a/plugins/rack/uwsgiplugin.py b/plugins/rack/uwsgiplugin.py index 4b3d533a..a44e6d1c 100644 --- a/plugins/rack/uwsgiplugin.py +++ b/plugins/rack/uwsgiplugin.py @@ -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()))