summaryrefslogtreecommitdiff
path: root/mk/dlopen.builtin.mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-23 14:27:04 +0000
committerjlam <jlam>2004-12-23 14:27:04 +0000
commitf4cd0ca74027a08062ded5b7246ec6929d18fbd2 (patch)
tree9a076996c5ac8157c7452d2e5308423f698b941f /mk/dlopen.builtin.mk
parentec88c0f2c6edc727b5000a173045b174011b9217 (diff)
downloadpkgsrc-f4cd0ca74027a08062ded5b7246ec6929d18fbd2.tar.gz
Don't remove library options from the command line quite so aggressively.
Allow the configure process a chance to detect on its own whether the named library exists or not by allowing those library options to pass through to the compiler on a test compile. A package that *needs* those library options to be removed can add the appropriate rm: BUILDLINK_TRANSFORM command to its package Makefile.
Diffstat (limited to 'mk/dlopen.builtin.mk')
-rw-r--r--mk/dlopen.builtin.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk
index a254e94f302..ec71b96834c 100644
--- a/mk/dlopen.builtin.mk
+++ b/mk/dlopen.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.builtin.mk,v 1.7 2004/12/02 15:04:16 jlam Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.8 2004/12/23 14:27:04 jlam Exp $
.for _lib_ in dl
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -71,8 +71,6 @@ BUILDLINK_PREFIX.dl= /usr
# scripts already check for -ldl themselves.
#
BUILDLINK_LDADD.dl= -ldl
-. else
-BUILDLINK_TRANSFORM+= rm:-ldl
. endif
. if !empty(_DLOPEN_REQUIRE_PTHREADS:M[yY][eE][sS])
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+