19aca62b12
* Wed Jun 16 2004 Nalin Dahyabhai <nalin@redhat.com> 2.2.13-1 - add compat-openldap subpackage
27 lines
1007 B
Diff
27 lines
1007 B
Diff
Build both slapd and slurpd as position-independent executables. This really
|
|
should be threaded into the various autotools, but I guess this is what we have
|
|
until that happens, if it happens.
|
|
|
|
--- openldap-2.2.13/servers/slapd/Makefile.in 2004-04-12 14:07:40.000000000 -0400
|
|
+++ openldap-2.2.13/servers/slapd/Makefile.in 2004-06-15 13:45:45.000000000 -0400
|
|
@@ -255,7 +255,7 @@
|
|
cp slapi/.libs/libslapi.a .
|
|
|
|
slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
|
|
- $(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) \
|
|
+ $(LTLINK) -pie -o $@ $(SLAPD_OBJECTS) $(LIBS) \
|
|
$(WRAP_LIBS)
|
|
rm -f $(SLAPTOOLS)
|
|
for i in $(SLAPTOOLS); do \
|
|
--- openldap-2.2.13/servers/slurpd/Makefile.in 2004-01-01 13:16:42.000000000 -0500
|
|
+++ openldap-2.2.13/servers/slurpd/Makefile.in 2004-06-15 13:44:45.000000000 -0400
|
|
@@ -44,7 +44,7 @@
|
|
XXXLIBS = $(LTHREAD_LIBS)
|
|
|
|
slurpd: version.o
|
|
- $(LTLINK) -o $@ $(OBJS) version.o $(LIBS)
|
|
+ $(LTLINK) -pie -o $@ $(OBJS) version.o $(LIBS)
|
|
|
|
sslurpd: version.o
|
|
$(LTLINK) -static -o $@ $(OBJS) version.o $(LIBS)
|