diff options
author | brian <brian@FreeBSD.org> | 1998-06-07 03:54:41 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-07 03:54:41 +0000 |
commit | 2113d2ba5a8a1fe28707302d7ac632886660181c (patch) | |
tree | d0d0ab4556f81ef6164c41235efdc4572568b97c | |
parent | e484ff1d7f90f17b40abb5e8e798fd825e7d794a (diff) | |
download | FreeBSD-src-2113d2ba5a8a1fe28707302d7ac632886660181c.zip FreeBSD-src-2113d2ba5a8a1fe28707302d7ac632886660181c.tar.gz |
Use a relative libalias.so name (hardcoded at 2.5 - yeuch!).
-rw-r--r-- | usr.sbin/ppp/loadalias.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/ppp/loadalias.c b/usr.sbin/ppp/loadalias.c index f6d306f..d29e186 100644 --- a/usr.sbin/ppp/loadalias.c +++ b/usr.sbin/ppp/loadalias.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: loadalias.c,v 1.14.2.5 1998/05/01 19:25:01 brian Exp $ + * $Id: loadalias.c,v 1.16 1998/05/21 21:46:19 brian Exp $ */ #include <sys/param.h> @@ -40,7 +40,11 @@ #include "id.h" #include "loadalias.h" +#if __FreeBSD__ >= 3 +#define _PATH_ALIAS_PREFIX "libalias.so.2.5" /* dlopen() searches */ +#else #define _PATH_ALIAS_PREFIX "/usr/lib/libalias.so.2." +#endif #define off(item) ((int)&(((struct aliasHandlers *)0)->item)) #define entry(a) { off(a), "_PacketAlias" #a } |