aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/NetBSD.mk2
-rw-r--r--config/StdGNU.mk2
-rw-r--r--config/SunOS.mk2
3 files changed, 6 insertions, 0 deletions
diff --git a/config/NetBSD.mk b/config/NetBSD.mk
index 6245259761..7aed0e7440 100644
--- a/config/NetBSD.mk
+++ b/config/NetBSD.mk
@@ -7,6 +7,8 @@ LIBLEAFDIR_x86_64 = lib
LIBEXEC = $(PREFIX)/libexec
PRIVATE_BINDIR = $(BINDIR)
+DLOPEN_LIBS =
+
ifeq ($(PREFIX),/usr)
XEN_LOCK_DIR = /var/lib
else
diff --git a/config/StdGNU.mk b/config/StdGNU.mk
index 0b1e0382d6..f27bdc59f5 100644
--- a/config/StdGNU.mk
+++ b/config/StdGNU.mk
@@ -60,6 +60,8 @@ SOCKET_LIBS =
CURSES_LIBS = -lncurses
PTHREAD_LIBS = -lpthread
UTIL_LIBS = -lutil
+DLOPEN_LIBS = -ldl
+
SONAME_LDFLAG = -soname
SHLIB_LDFLAGS = -shared
diff --git a/config/SunOS.mk b/config/SunOS.mk
index 80a392bcae..6fa0e817dd 100644
--- a/config/SunOS.mk
+++ b/config/SunOS.mk
@@ -50,6 +50,8 @@ SOCKET_LIBS = -lsocket
CURSES_LIBS = -lcurses
PTHREAD_LIBS = -lpthread
UTIL_LIBS =
+DLOPEN_LIBS = -ldl
+
SONAME_LDFLAG = -h
SHLIB_LDFLAGS = -R $(SunOS_LIBDIR) -shared