[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6274) nssov: makefile suffix rules too greedy



Full_Name: Jonathan Clarke
Version: RE24
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.67.204.30)


When running "make" in the nssov module from contrib/slapd-modules, I get this:
8<-------------------
[...]/contrib/slapd-modules/nssov$ make
../../../libtool --mode=compile gcc -g -O2  -I../../../include
-I../../../include -I../../../servers/slapd -Inss-ldapd -c alias.c nssov.h
libtool: compile: cannot determine name of library object from `nssov.h'
8<-------------------

This trivial patch to Makefile corrects this:
8<-------------------
-	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
+	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
8<-------------------