diff options
author | 2002-03-17 04:52:14 +0000 | |
---|---|---|
committer | 2002-03-17 04:52:14 +0000 | |
commit | d7ed8328921c72416d2c2e195d08ea1d4c5f3b56 (patch) | |
tree | 9c346be49b50cb4b938a239233e840d633182c59 /usr.sbin/httpd/src | |
parent | Remove hackery I added to deal with dlopen(NULL), handle it in a reasonably (diff) | |
download | wireguard-openbsd-d7ed8328921c72416d2c2e195d08ea1d4c5f3b56.tar.xz wireguard-openbsd-d7ed8328921c72416d2c2e195d08ea1d4c5f3b56.zip |
This along with the recent dynamic linker fixes allows modules to work
with Apache on our ELF-based architecures. Enable alpha, powerpc and sparc64.
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r-- | usr.sbin/httpd/src/Configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/Configure b/usr.sbin/httpd/src/Configure index a372c264f6c..ed5b3338b41 100644 --- a/usr.sbin/httpd/src/Configure +++ b/usr.sbin/httpd/src/Configure @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: Configure,v 1.16 2002/02/21 23:33:14 miod Exp $ +# $OpenBSD: Configure,v 1.17 2002/03/17 04:52:14 brad Exp $ ## ==================================================================== ## The Apache Software License, Version 1.1 ## @@ -1132,6 +1132,9 @@ if [ "x$using_shlib" = "x1" ] ; then *) LD_SHLIB="gcc" LDFLAGS_SHLIB="-shared \$(CFLAGS_SHLIB)" + if test -z "`echo __ELF__ | ${CC} -E - | grep __ELF__`"; then + LDFLAGS_SHLIB_EXPORT="-Wl,-E" + fi ;; esac LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB |