2007-11-21 12:12:15 +00:00
|
|
|
Build both slapd 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.
|
|
|
|
|
2008-09-01 08:09:50 +00:00
|
|
|
diff -up openldap-2.4.11/servers/slapd/Makefile.in.patch4 openldap-2.4.11/servers/slapd/Makefile.in
|
|
|
|
--- openldap-2.4.11/servers/slapd/Makefile.in.patch4 2008-02-12 00:26:43.000000000 +0100
|
|
|
|
+++ openldap-2.4.11/servers/slapd/Makefile.in 2008-09-01 09:57:09.000000000 +0200
|
2008-07-25 11:15:20 +00:00
|
|
|
@@ -266,7 +266,7 @@ libslapi.a: slapi/.libs/libslapi.a
|
2007-11-21 12:12:15 +00:00
|
|
|
cp slapi/.libs/libslapi.a .
|
|
|
|
|
|
|
|
slapd: $(SLAPD_DEPENDS) @LIBSLAPI@
|
|
|
|
- $(LTLINK) -o $@ $(SLAPD_OBJECTS) $(LIBS) \
|
|
|
|
+ $(LTLINK) -pie -Wl,-z,defs -o $@ $(SLAPD_OBJECTS) $(LIBS) \
|
|
|
|
$(WRAP_LIBS)
|
2008-07-25 11:15:20 +00:00
|
|
|
$(RM) $(SLAPTOOLS)
|
2007-11-21 12:12:15 +00:00
|
|
|
for i in $(SLAPTOOLS); do \
|