diff options
author | jlam <jlam@pkgsrc.org> | 2004-12-23 14:27:04 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-12-23 14:27:04 +0000 |
commit | 1a36b3b6702a8f018d30691db436338ea595d52c (patch) | |
tree | 9a076996c5ac8157c7452d2e5308423f698b941f /mk/dlopen.builtin.mk | |
parent | fbb3fd6d93becd92fbf8f935e26033b5fd98e61f (diff) | |
download | pkgsrc-1a36b3b6702a8f018d30691db436338ea595d52c.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.mk | 4 |
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}+ |