Missing stuff for proper linking of the module (sorry for the double commit)

This commit is contained in:
Emmanuel Dreyfus 2009-01-31 19:23:04 +00:00
parent 4e08a2da1b
commit 56e651a041

View 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