We apparently need to link in dl (dladdr) manually.

This commit is contained in:
ThePhD 2013-12-11 23:43:33 -05:00
parent 2b4f9cc24c
commit a59320787f

View File

@ -6,7 +6,7 @@ objdir = obj
cxx = g++
cxxflags = -std=c++11 -pedantic -pedantic-errors -Wextra -Wall -O2 -DNDEBUG
incflags = -I"." -I"./include" -I"." -I"/usr/include/lua5.2" -I"./lua-5.2.2/src/" -I"./Catch/include/"
linkflags = -static -L"./lib" -llua5.2
linkflags = -static -L"./lib" -llua5.2 -ldl
rule compile
command = $cxx -MMD -MF $out.d $cxxflags -c $in -o $out $incflags