ITS#9515 - Fix .lo file generation during build process

This commit is contained in:
Quanah Gibson-Mount 2021-04-01 17:22:45 +00:00
parent ded462bc66
commit 8d9a99b29f
2 changed files with 8 additions and 4 deletions
contrib/slapd-modules
datamorph
variant

View File

@ -49,10 +49,12 @@ sp :=
dir := tests
include $(dir)/Rules.mk
%.lo: %.c
.SUFFIXES: .c .o .lo
.c.lo:
$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
%.la: %.lo
datamorph.la: datamorph.lo
$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-rpath $(moduledir) -module -o $@ $? $(LIBS)

View File

@ -49,10 +49,12 @@ sp :=
dir := tests
include $(dir)/Rules.mk
%.lo: %.c
.SUFFIXES: .c .o .lo
.c.lo:
$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
%.la: %.lo
variant.la: variant.lo
$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info $(LTVER) \
-rpath $(moduledir) -module -o $@ $? $(LIBS)