mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-10 05:42:59 +01:00
Add missing library libdl when linking
This fixes undefined reference errors for libdl functions when linking against -libbbfdm Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
This commit is contained in:
parent
c0f6b6d08a
commit
234ab4e70d
2 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ libbbfdm_la_LIBADD = \
|
|||
$(LIBJSON_LIBS) \
|
||||
$(LIBTRACE_LIBS) \
|
||||
$(LBLOBMSG_LIBS) \
|
||||
$(LIBDLOPEN_LIBS) \
|
||||
-lbbf_api
|
||||
|
||||
libbbfdm_la_CFLAGS+=-I../
|
||||
|
|
|
|||
|
|
@ -73,6 +73,9 @@ AC_DEFINE(DM_USE_LIBUBUS)
|
|||
LBLOBMSG_LIBS='-lblobmsg_json'
|
||||
AC_SUBST([LBLOBMSG_LIBS])
|
||||
|
||||
LIBDLOPEN_LIBS='-ldl'
|
||||
AC_SUBST([LIBDLOPEN_LIBS])
|
||||
|
||||
# checks for header files
|
||||
AC_CHECK_HEADERS([stdlib.h string.h])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue