blob: e6cde71440abf0d4f0d05e3708eecf7e292411ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
$NetBSD: patch-aa,v 1.5 2001/10/01 08:36:44 jlam Exp $
--- apaci/Makefile.tmpl.orig Tue Nov 24 11:38:52 1998
+++ apaci/Makefile.tmpl Fri Apr 30 20:36:05 1999
@@ -45,7 +45,7 @@
$(MP_STATIC_OBJS)
MP_OBJS_PIC=\
mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo \
- $(MP_STATIC_OBJS_PIC)
+ $(MP_STATIC_OBJS_PIC) $(DYNALOADER_OBJ_PIC)
all: lib
@@ -58,7 +58,7 @@
libperl.so: $(MP_OBJS_PIC)
$(MP_RM) $@
- $(MP_LD) $(MP_LDFLAGS_SHLIB) -o $@ $(MP_OBJS_PIC) $(MP_LIBS)
+ ld $(MP_LDFLAGS_SHLIB:S/-Wl,//g) -o $@ $(MP_OBJS_PIC) $(MP_LIBS:S/-Wl,//g:N*.a)
.SUFFIXES: .xs .c .o .lo
@@ -94,7 +94,8 @@
# FOR STAND-ALONE BUILDING ONLY
install:
- $(APXS) -i -a -n perl libperl.so
+ @cp libperl.so mod_perl.so
+ $(APXS) -i -n perl mod_perl.so
depend:
cp Makefile.tmpl Makefile.tmpl.bak \
|