summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-01-03 04:57:51 +0000
committerminskim <minskim@pkgsrc.org>2005-01-03 04:57:51 +0000
commit1d36b321d624bec30f0ab931a583d2fd3f514ceb (patch)
tree85f71d61b8748b2b82b6a9b1955d04621b6cd253 /mk
parent192963838b7c21ac35dd59a11cd4ef9db7e13f2b (diff)
downloadpkgsrc-1d36b321d624bec30f0ab931a583d2fd3f514ceb.tar.gz
Make IS_BUILTIN.dl work on Interix. Patch provided by Hiramatsu Yoshifumi
in PR pkg/28836.
Diffstat (limited to 'mk')
-rw-r--r--mk/dlopen.builtin.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/dlopen.builtin.mk b/mk/dlopen.builtin.mk
index ec71b96834c..b9f3219868f 100644
--- a/mk/dlopen.builtin.mk
+++ b/mk/dlopen.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.builtin.mk,v 1.8 2004/12/23 14:27:04 jlam Exp $
+# $NetBSD: dlopen.builtin.mk,v 1.9 2005/01/03 04:57:51 minskim Exp $
.for _lib_ in dl
. if !defined(_BLNK_LIB_FOUND.${_lib_})
@@ -17,7 +17,7 @@ BUILDLINK_VARS+= _BLNK_LIB_FOUND.${_lib_}
.if !defined(IS_BUILTIN.dl)
IS_BUILTIN.dl= no
-. if exists(/usr/include/dlfcn.h)
+. if exists(/usr/include/dlfcn.h) || exists(/opt/gcc.3.3/include/dlfcn.h)
IS_BUILTIN.dl= yes
. endif
BUILDLINK_VARS+= IS_BUILTIN.dl