Attached is a small patch to respect any LDFLAGS when building
library/lammpi or packages/CLPBN/horus. Keri Harris
This commit is contained in:
parent
b5cc597ab8
commit
0205a222d9
@ -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
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user