httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor J. Orlikowski" <v.j.orlikow...@gte.net>
Subject [PATCH] Add ability for DSO specific linker flags
Date Thu, 31 Aug 2000 17:27:49 GMT
This patch is being submitted so that we can pass specific options to
modules being compiled as DSOs. The libtool that we are now using does
not support being passed arbitrary linker flags, but one that does is due
out soon, and we will need this for DSOs on AIX. 

Index: src/acinclude.m4
===================================================================
RCS file: /cvs/apache/apache-2.0/src/acinclude.m4,v
retrieving revision 1.44
diff -u -r1.44 acinclude.m4
--- acinclude.m4	2000/08/11 04:13:43	1.44
+++ acinclude.m4	2000/08/31 17:15:49
@@ -71,6 +71,7 @@
   APACHE_SUBST(CXXFLAGS)
   APACHE_SUBST(LTFLAGS)
   APACHE_SUBST(LDFLAGS)
+  APACHE_SUBST(SH_LDFLAGS)
   APACHE_SUBST(DEFS)
   APACHE_SUBST(LIBTOOL)
   APACHE_SUBST(SHELL)
Index: src/build/rules.mk
===================================================================
RCS file: /cvs/apache/apache-2.0/src/build/rules.mk,v
retrieving revision 1.25
diff -u -r1.25 rules.mk
--- rules.mk	2000/08/19 00:34:38	1.25
+++ rules.mk	2000/08/31 17:15:50
@@ -71,7 +71,7 @@
 # Link-related commands
 
 LINK    = $(LIBTOOL) --mode=link $(COMPILE) $(LTFLAGS) $(LDFLAGS) -o $@
-SH_LINK = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LTFLAGS) $(LDFLAGS) -o $@
+SH_LINK = $(SH_LIBTOOL) --mode=link $(COMPILE) $(LTFLAGS) $(LDFLAGS) $(SH_LDFLAGS) -o $@
 
 # Helper programs

Victor
-- 
Victor J. Orlikowski
======================
v.j.orlikowski@gte.net
vjo@raleigh.ibm.com
vjo@us.ibm.com


Mime
View raw message