From dev-return-30307-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Sun Jun 02 05:06:40 2002 Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 43996 invoked by uid 500); 2 Jun 2002 05:06:39 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 43983 invoked from network); 2 Jun 2002 05:06:39 -0000 Date: Sun, 2 Jun 2002 01:06:42 -0400 (EDT) From: Brad To: dev@httpd.apache.org Subject: [PATCH] Apache 1.3 and OpenBSD (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ---------- Forwarded message ---------- Date: Mon, 20 May 2002 18:03:40 -0400 (EDT) From: Brad To: dev@httpd.apache.org Subject: [PATCH] Apache 1.3 and OpenBSD Here is a patch for Apache 1.3 which when used with OpenBSD 3.1 and up allows modules to work on our ELF-based architectures. BTW, I am not subscribed to this list so please reply directly to me. --- Configure.orig Sat May 11 23:39:59 2002 +++ Configure Mon May 20 17:19:41 2002 @@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if [ -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ]; then + LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB // Brad brad@comstyle.com brad@openbsd.org