summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2013-09-12 17:08:34 +0000
committerRoy Marples <roy@marples.name>2013-09-12 17:08:34 +0000
commit52dc01927b0d04bcde2ea636fe8517d5f593341d (patch)
tree6793f2605e00f7d20d46e0d6514aafef0664711b /configure
parenta68c2460365c0ccd2eda838c4cca62b99e006776 (diff)
downloaddhcpcd-52dc01927b0d04bcde2ea636fe8517d5f593341d.tar.xz
Fix building with a dev manager
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 37090bb1..975ab3c6 100755
--- a/configure
+++ b/configure
@@ -607,10 +607,9 @@ if [ "$DEV" != no -a "$UDEV" != no ]; then
printf "Checking for libudev ... "
LIBUDEV_CFLAGS=$(pkg-config --cflags libudev 2>/dev/null)
LIBUDEV_LIBS=$(pkg-config --libs libudev 2>/dev/null)
- [ -z "$DEV" ] && DEV=yes
fi
if [ "$DEV" != no -a "$UDEV" != no -a -n "$LIBUDEV_LIBS" ]; then
- echo "yes"
+ [ -z "$DEV" ] && DEV=yes
echo "DEV_PLUGINS+= udev" >>$CONFIG_MK
if [ -n "$LIBUDEV_CFLAGS" ]; then
echo "LIBUDEV_CFLAGS= $LIBUDEV_CFLAGS" >>$CONFIG_MK
@@ -641,7 +640,8 @@ fi
if [ "$DEV" = yes ]; then
echo "SRCS+= dev.c" >>$CONFIG_MK
echo "CPPFLAGS+= -DPLUGIN_DEV" >>$CONFIG_MK
- echo "LDFLAGS+= -Wl,--export-dynamic" >>$CONFIG_MK
+ echo "LDFLAGS+= -Wl,--export-dynamic" >>$CONFIG_MK
+ echo "MKDIRS+= dev"
fi
if [ -z "$SERVICECMD" ]; then