]> git.sur5r.net Git - openldap/commitdiff
Missing stuff for proper linking of the module (sorry for the double commit)
authorEmmanuel Dreyfus <manu@openldap.org>
Sat, 31 Jan 2009 19:23:04 +0000 (19:23 +0000)
committerEmmanuel Dreyfus <manu@openldap.org>
Sat, 31 Jan 2009 19:23:04 +0000 (19:23 +0000)
contrib/slapd-modules/nops/Makefile

index 3a12e21c215d0d94b884cf4e832328ba96c708d8..c2ef65d846367c2b60aab2c08215d011b9b51d72 100644 (file)
@@ -1,4 +1,6 @@
-CPPFLAGS+=-I../../../include -I../../../servers/slapd
+CPPFLAGS+=-I../../../include -I../../../servers/slapd 
+CPPFLAGS+=-DSLAPD_OVER_NOPS=SLAPD_MOD_DYNAMIC
+LIBS=-lldap_r -llber -lcrypto
 
 all: nops.la
 
@@ -7,7 +9,7 @@ nops.lo:    nops.c
 
 nops.la:    nops.lo
        $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
-                  -rpath $(PREFIX)/lib -module -o $@ $? 
+                  -rpath $(PREFIX)/lib -module -o $@ $? $(LIBS)
 
 clean:
        rm nops.lo nops.la