diff --git a/src/eressea/Jamfile b/src/eressea/Jamfile index 8a19ed622..6f8b427ca 100644 --- a/src/eressea/Jamfile +++ b/src/eressea/Jamfile @@ -27,8 +27,9 @@ if $(HAVE_LUA) { main.cpp ; - LINKLIBS on eressea += -llua50 -llualib50 ; - LINKLIBS on eressea += -lluabind ; + LINKLIBS on $(BINARY) += -llua50 -llualib50 ; + LINKLIBS on $(BINARY) += -lluabind ; + LINKLIBS on $(BINARY) += -ldl -lstdc++ ; } else { BINARY = eressea ; SOURCES = main.c ;