Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 44637 invoked by uid 500); 17 Jun 2002 00:36:19 -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 44624 invoked from network); 17 Jun 2002 00:36:19 -0000 Date: Sun, 16 Jun 2002 20:36:10 -0400 (EDT) From: Brad To: dev@httpd.apache.org Subject: Re: [PATCH] Apache 1.3 and OpenBSD 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 --- Configure.orig Fri Jun 7 15:47:58 2002 +++ Configure Fri Jun 7 15:51:21 2002 @@ -1130,6 +1130,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if [ "x`echo __ELF__ | $CC -E - | grep __ELF__`" = "x" ]; then + LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB >Date: Mon, 3 Jun 2002 11:13:32 -0400 >From: Jim Jagielski >To: dev@httpd.apache.org >Cc: brad@comstyle.com >Subject: Re: [PATCH] Apache 1.3 and OpenBSD > >> >--- 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 > >The '-z' is not normally used in Configure but that is easily fixed... :) >-- >=========================================================================== > Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ > "A society that will trade a little liberty for a little order > will lose both and deserve neither" - T.Jefferson