pppd: fix plugin search path
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 11 Jun 2012 07:20:39 +0000 (07:20 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 11 Jun 2012 19:32:31 +0000 (21:32 +0200)
commitb9910f1906dc8dab6ba65fcb464ee4095c6c944a
tree585156e2cb0dbc0e8173cd3fab8038473ebab429
parenta17f53f64bd183705e50debe81b796bc6cb82e0f
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>
package/pppd/pppd.mk