Added libdl to the OS libraries needed, for dlopen/dlsym.

This commit is contained in:
Andrew Johnson
2009-03-04 22:51:41 +00:00
parent edcb7b96f8
commit 11abbb06d7

View File

@@ -20,7 +20,7 @@ POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dlinux
OP_SYS_LDLIBS += -lrt
OP_SYS_LDLIBS += -lrt -ldl
# Set runtime path for shared libraries
SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%)