when Apache is built with dlcompat present, the installed httpd/os.h
header file #includes <dlfcn.h>, so we need to include dlopen.buildlink3.mk so that dlfcn.h can be found by packages which use httpd/os.h. XXX this is not entirely correct, but works around the problem XXX sufficiently. the problem is that Darwin (7.7.x) has dlopen() and XXX friends but does not provide prototypes in dlfcn.h (or anywhere else).
This commit is contained in:
parent
11560e3b7f
commit
35616f80b5
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.8 2004/05/17 21:32:34 seb Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.9 2004/12/19 04:02:43 grant Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
|
||||
|
@ -27,6 +27,10 @@ APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
|
|||
CONFIGURE_ARGS+= --with-apxs="${APXS}"
|
||||
.endif
|
||||
|
||||
# required because httpd/os.h includes <dlfcn.h> when it is found by
|
||||
# Apache's configure script.
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
|
||||
.endif # APACHE_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
||||
|
|
Loading…
Reference in a new issue