]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
SMH: Fix for flags
authorsmh <smh@opencascade.com>
Fri, 10 Jun 2005 05:51:49 +0000 (05:51 +0000)
committersmh <smh@opencascade.com>
Fri, 10 Jun 2005 05:51:49 +0000 (05:51 +0000)
salome_adm/unix/make_conclude.in
src/MEDWrapper/Factory/Makefile.in

index 7237cbc108e296baf426850253a131b17b1cf756..b0fb293f2375f4b5a5133fc963d03ffb1468ab49 100644 (file)
@@ -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
 #
index dcc5b9839fbfd30a57224a96b5e1270bbf3014d5..2b1b97d4fb18607110221c044adb48714d695248 100644 (file)
@@ -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@