From 56e651a0410158b8b5a414426e6e3d5cd9a29128 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Sat, 31 Jan 2009 19:23:04 +0000 Subject: [PATCH] Missing stuff for proper linking of the module (sorry for the double commit) --- contrib/slapd-modules/nops/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/slapd-modules/nops/Makefile b/contrib/slapd-modules/nops/Makefile index 3a12e21c21..c2ef65d846 100644 --- a/contrib/slapd-modules/nops/Makefile +++ b/contrib/slapd-modules/nops/Makefile @@ -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 -- 2.39.5