mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
We apparently need to link in dl
(dladdr
) manually.
This commit is contained in:
parent
2b4f9cc24c
commit
a59320787f
|
@ -6,7 +6,7 @@ objdir = obj
|
||||||
cxx = g++
|
cxx = g++
|
||||||
cxxflags = -std=c++11 -pedantic -pedantic-errors -Wextra -Wall -O2 -DNDEBUG
|
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/"
|
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
|
rule compile
|
||||||
command = $cxx -MMD -MF $out.d $cxxflags -c $in -o $out $incflags
|
command = $cxx -MMD -MF $out.d $cxxflags -c $in -o $out $incflags
|
||||||
|
|
Loading…
Reference in New Issue
Block a user