mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
ITS#9515 - Fix .lo file generation during build process
This commit is contained in:
parent
ded462bc66
commit
8d9a99b29f
2 changed files with 8 additions and 4 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue