Don't explicitly link against libdl.
There is no need to add -ldl explicitly to each program's LDADD, because the configure test for dladdr does that for us.
This commit is contained in:
1 parent
6e1d7e4254
commit
5fc6464527
4 files changed
+4
-4
No files matched your search
@@ -5,7 +5,7 @@ man_MANS = controller.8
|
||||
DISTCLEANFILES = controller.8
|
||||
|
||||
controller_SOURCES = controller.c
|
||||
controller_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
|
||||
controller_LDADD = ../lib/libopenflow.la $(SSL_LIBS)
|
||||
|
||||
EXTRA_DIST = controller.8.in
|
||||
controller.8: controller.8.in Makefile
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ man_MANS =
|
||||
endif
|
||||
|
||||
secchan_SOURCES = secchan.c
|
||||
secchan_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
|
||||
secchan_LDADD = ../lib/libopenflow.la $(SSL_LIBS)
|
||||
|
||||
EXTRA_DIST = secchan.8.in
|
||||
DISTCLEANFILES = secchan.8
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ switch_SOURCES = \
|
||||
table-hash.c \
|
||||
table-linear.c
|
||||
|
||||
switch_LDADD = ../lib/libopenflow.la -ldl $(SSL_LIBS)
|
||||
switch_LDADD = ../lib/libopenflow.la $(SSL_LIBS)
|
||||
|
||||
EXTRA_DIST = switch.8.in
|
||||
DISTCLEANFILES = switch.8
|
||||
|
||||
+1
-1
@@ -13,5 +13,5 @@ test_type_props_SOURCES = test-type-props.c
|
||||
|
||||
check_PROGRAMS += test-dhcp-client
|
||||
test_dhcp_client_SOURCES = test-dhcp-client.c
|
||||
test_dhcp_client_LDADD = ../lib/libopenflow.la -ldl
|
||||
test_dhcp_client_LDADD = ../lib/libopenflow.la
|
||||
|
||||
Reference in new issue
Block a user