Attached is a small patch to respect any LDFLAGS when building

library/lammpi or packages/CLPBN/horus.

Keri Harris
This commit is contained in:
Vítor Santos Costa 2013-11-10 11:22:54 +00:00
parent b5cc597ab8
commit 0205a222d9
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ hash.o: $(srcdir)/hash.c $(srcdir)/hash.h
$(MPI_CC) -c $(CFLAGS) $(srcdir)/hash.c -o hash.o
@DO_SECOND_LD@yap_mpi.@SO@: $(OBJS)
@DO_SECOND_LD@ @SHLIB_LD@ -o yap_mpi.@SO@ $(OBJS) $(MPILDF) @EXTRA_LIBS_FOR_DLLS@
@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_mpi.@SO@ $(OBJS) $(MPILDF) @EXTRA_LIBS_FOR_DLLS@
install: all
@if test "$(SOBJS)" = ""; then echo ""; else $(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR); fi

View File

@ -195,7 +195,7 @@ with_tests: $(LIB) $(HCLI) $(UTESTING)
@DO_SECOND_LD@$(LIB): $(LIB_OBJS)
@DO_SECOND_LD@ @SHLIB_CXX_LD@ -o $@ $(LIB_OBJS) @EXTRA_LIBS_FOR_SWIDLLS@
@DO_SECOND_LD@ @SHLIB_CXX_LD@ $(LDFLAGS) -o $@ $(LIB_OBJS) @EXTRA_LIBS_FOR_SWIDLLS@
$(HCLI): $(HCLI_OBJS)