summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-06-12 15:37:23 +0000
committerpeter <peter@FreeBSD.org>1998-06-12 15:37:23 +0000
commit4c280934b97d61ced62b509e36e9d07c5b3a4a0f (patch)
treee5b839db665a3c6063a565d84ceefc50f7f6ec16
parent7eb39bf3d30f7c508cfa5942b77eb7545e14d388 (diff)
downloadFreeBSD-src-4c280934b97d61ced62b509e36e9d07c5b3a4a0f.zip
FreeBSD-src-4c280934b97d61ced62b509e36e9d07c5b3a4a0f.tar.gz
Use the elf libalias name when compiled under elf.
-rw-r--r--usr.sbin/ppp/loadalias.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/ppp/loadalias.c b/usr.sbin/ppp/loadalias.c
index d29e186..455a540f 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.16 1998/05/21 21:46:19 brian Exp $
+ * $Id: loadalias.c,v 1.17 1998/06/07 03:54:41 brian Exp $
*/
#include <sys/param.h>
@@ -41,7 +41,11 @@
#include "loadalias.h"
#if __FreeBSD__ >= 3
+#ifdef __ELF__
+#define _PATH_ALIAS_PREFIX "libalias.so.2" /* dlopen() searches */
+#else
#define _PATH_ALIAS_PREFIX "libalias.so.2.5" /* dlopen() searches */
+#endif
#else
#define _PATH_ALIAS_PREFIX "/usr/lib/libalias.so.2."
#endif
OpenPOWER on IntegriCloud