summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias2012-06-11 09:20:39 +0200
committerPeter Korsgaard2012-06-11 21:32:31 +0200
commitb9910f1906dc8dab6ba65fcb464ee4095c6c944a (patch)
tree585156e2cb0dbc0e8173cd3fab8038473ebab429
parentkernel-headers: bump 3.2.x stable version (diff)
downloadbuildroot-b9910f1906dc8dab6ba65fcb464ee4095c6c944a.tar.gz
buildroot-b9910f1906dc8dab6ba65fcb464ee4095c6c944a.tar.xz
buildroot-b9910f1906dc8dab6ba65fcb464ee4095c6c944a.zip
pppd: fix plugin search path
Fix the plugin search path by passing a --prefix to configure. DESTDIR is used in the source code for the search path of plugins (DESTDIR/lib/pppd/VERSION). Since DESTDIR defaults to /usr/local we get the search path wrong so the 'plugin' directive requires a full pathspec to the plugin rather than the .so name, which isn't nice or portable. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/pppd/pppd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk
index 2137f6a4e..a62f495c1 100644
--- a/package/pppd/pppd.mk
+++ b/package/pppd/pppd.mk
@@ -26,7 +26,7 @@ endif
define PPPD_CONFIGURE_CMDS
$(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux
$(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux
- ( cd $(@D); ./configure )
+ ( cd $(@D); ./configure --prefix=/usr )
endef
define PPPD_BUILD_CMDS