use -ldl when linking

dlopen etc. require -ldl to link
This commit is contained in:
Thanos Makatos 2016-03-31 13:00:36 +03:00
parent 06e74656f6
commit b8dbde1e64

View File

@ -137,7 +137,7 @@ CXXFLAGS+=@CXXDEBUG_FLAG@
CXXFLAGS+=@CXX_STRERROR_FLAG@
CXXFLAGS+=@LFS_FLAGS@
INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) -I$(TOP_DIR)/thin-provisioning
LIBS:=-laio -lexpat
LIBS:=-laio -lexpat -ldl
ifeq ("@DEVTOOLS@", "yes")
LIBS+=-lncurses