diff --git a/SConscript b/SConscript index 9c236bd55..ad6501686 100755 --- a/SConscript +++ b/SConscript @@ -188,6 +188,7 @@ if not GetOption("macosx"): env.Append(CPPPATH=[GetOption("lua-dir")]) try: env.ParseConfig('pkg-config --cflags lua5.1') + env.ParseConfig('pkg-config --libs lua5.1') except: #Check for Lua lib if not conf.CheckLib('lua5.1') and not conf.CheckLib('lua-5.1') and not conf.CheckLib('lua51') and not conf.CheckLib('lua'):