pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Don't auto-add -ldl to LIBS since most GNU configur...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b10dfe5b42f
branches: trunk
changeset: 484215:6b10dfe5b42f
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Nov 26 08:26:51 2004 +0000
description:
Don't auto-add -ldl to LIBS since most GNU configure scripts already
check for this condition.
diffstat:
mk/dlopen.builtin.mk | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 75bc209583f0 -r 6b10dfe5b42f mk/dlopen.builtin.mk
--- a/mk/dlopen.builtin.mk Fri Nov 26 08:18:30 2004 +0000
+++ b/mk/dlopen.builtin.mk Fri Nov 26 08:26:51 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.builtin.mk,v 1.2 2004/11/26 08:15:25 jlam Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.3 2004/11/26 08:26:51 jlam Exp $
.for _lib_ in dl
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -36,7 +36,11 @@
. if !empty(USE_BUILTIN.dl:M[yY][eE][sS])
BUILDLINK_PREFIX.dl= /usr
. if !empty(_BLNK_LIB_FOUND.dl:M[yY][eE][sS])
-BUILDLINK_LIBS.dl= -ldl
+#
+# No need to add this to BUILDLINK_LIBS.dl since most GNU configure
+# scripts already check for -ldl themselves.
+#
+BUILDLINK_LDADD.dl= -ldl
. endif
#
# The following platforms require pthreads to be linked into the
Home |
Main Index |
Thread Index |
Old Index