summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-03-27 07:52:25 +0000
committerRoy Marples <roy@marples.name>2018-03-27 07:52:25 +0000
commitfa928aa79dfc96e3da58652ea5cf8c83c140e022 (patch)
tree401d58c757abc4af2da579681311e8ed1a33352e /configure
parentf859374698363cdcab922e6d757059a1c3e914aa (diff)
downloaddhcpcd-fa928aa79dfc96e3da58652ea5cf8c83c140e022.tar.xz
udev: Use our logerr framework instead of syslog(3)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 84aada94..c378fe0f 100755
--- a/configure
+++ b/configure
@@ -1285,7 +1285,7 @@ EOF
fi
if [ "$HMAC" = no ]; then
echo "#include \"compat/crypt/hmac.h\"" >>$CONFIG_H
- echo "HMAC_SRC= compat/crypt/hmac.c" >>$CONFIG_MK
+ echo "HMAC_SRC= compat/crypt/hmac.c" >>$CONFIG_MK
else
# echo "#define HAVE_HMAC_H" >>$CONFIG_H
echo "HMAC_SRC=" >>$CONFIG_MK
@@ -1351,6 +1351,9 @@ if [ "$DEV" = yes ]; then
echo "CPPFLAGS+= -DPLUGIN_DEV" >>$CONFIG_MK
echo "MKDIRS+= dev" >>$CONFIG_MK
+ # So the plugins have access to logerr
+ echo "LDFLAGS+= -Wl,-export-dynamic" >>$CONFIG_MK
+
printf "Testing for dlopen ... "
cat <<EOF >_dlopen.c
#include <dlfcn.h>