lib-contrib-petsc-path.g = $(DEAL_II_PETSC_DIR)/lib/libg_c++/$(DEAL_II_PETSC_ARCH)
lib-contrib-petsc-path.o = $(DEAL_II_PETSC_DIR)/lib/libO_c++/$(DEAL_II_PETSC_ARCH)
lib-contrib-petsc.g = $(LIBDIR)/libpetsc.g$(lib-suffix)
-lib-contrib-petsc.o = $(LIBDIR)/libpetsc.o$(lib-suffix)
+lib-contrib-petsc.o = $(LIBDIR)/libpetsc$(lib-suffix)
# same for metis, except that there is only one library in that case
lib-contrib-metis = $(DEAL_II_METIS_DIR)/libmetis.a
@echo "======================debug============= Linking library: libpetsc.g.so"
@$(CXX) -shared -o libpetsc.g.so \
-Wl,-rpath,$(lib-contrib-petsc-path.g) $(xlib.g)
- @echo "======================optimized========= Linking library: libpetsc.o.so"
- @$(CXX) -shared -o libpetsc.o.so \
+ @echo "======================optimized========= Linking library: libpetsc.so"
+ @$(CXX) -shared -o libpetsc.so \
-Wl,-rpath,$(lib-contrib-petsc-path.o) $(xlib.o)
else
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams