From 203eecb87036bdb0c5e2e78254984a31c9c6c080 Mon Sep 17 00:00:00 2001 From: smh Date: Fri, 10 Jun 2005 05:51:49 +0000 Subject: [PATCH] SMH: Fix for flags --- salome_adm/unix/make_conclude.in | 2 +- src/MEDWrapper/Factory/Makefile.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/salome_adm/unix/make_conclude.in b/salome_adm/unix/make_conclude.in index 7237cbc10..b0fb293f2 100644 --- a/salome_adm/unix/make_conclude.in +++ b/salome_adm/unix/make_conclude.in @@ -100,7 +100,7 @@ $(BIN:%=$(top_builddir)/bin/salome/%) $(TEST_PROGS:%=$(top_builddir)/bin/salome/ ln -sf $(CURDIR)/$< $@ $(BIN) $(TEST_PROGS): %: %.lo $(BIN_OBJ) - $(CXX) $(CXXFLAGS) -o $@ $^ $(BIN_LIB) $(LDFLAGS) $(LIBS) + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(BIN_LIB) $(LDFLAGSFORBIN) $(LIBSFORBIN) # copy python scripts in $(top_builddir)/bin/salome # diff --git a/src/MEDWrapper/Factory/Makefile.in b/src/MEDWrapper/Factory/Makefile.in index dcc5b9839..2b1b97d4f 100644 --- a/src/MEDWrapper/Factory/Makefile.in +++ b/src/MEDWrapper/Factory/Makefile.in @@ -49,8 +49,8 @@ BIN_SRC = CPPFLAGS+= $(BOOST_CPPFLAGS) $(MED2_INCLUDES) -LDFLAGS+= -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lMEDWrapperBase +LDFLAGS+= -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -LDFLAGSFORBIN=$(LDFLAGS) +LDFLAGSFORBIN=$(LDFLAGS) -lMEDWrapperBase @CONCLUDE@ -- 2.39.2