On cygwin some dlls might happen to be with identical
base addresses and if you try to load both of them you'll
get an error and you'll have to use the rebase utility to fix them.
The following patch should prevent this.
Index: lib/Apache2/Build.pm
===================================================================
--- lib/Apache2/Build.pm (revision 264972)
+++ lib/Apache2/Build.pm (working copy)
@@ -320,6 +320,7 @@
$ldopts = join ' ',
'--export-all-symbols',
+ '--enable-auto-image-base',
"$self->{cwd}/src/modules/perl/$mplib",
$ldopts;
@@ -1590,7 +1591,8 @@
$(MODPERL_RM_F) $@
$(MODPERL_CC) -shared -o $@ \
-Wl,--out-implib=$(MODPERL_LIBNAME).dll.a \
- -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
+ -Wl,--export-all-symbols -Wl,--enable-auto-import \
+ -Wl,--enable-auto-image-base -Wl,--stack,8388608 \
$(MODPERL_PIC_OBJS) \
$(MODPERL_LDDLFLAGS) $(MODPERL_LDOPTS) \
$(MODPERL_AP_LIBS)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]