]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Changed the Makefile for Petsc libraries.
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Jan 2007 15:36:03 +0000 (15:36 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 Jan 2007 15:36:03 +0000 (15:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@14384 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lib/Makefile

index 81277d07f6762517cfe05f8b6b1d5d55af808807..46986b96a84fa3a76e367fefa31949ee693f78a5 100644 (file)
@@ -61,13 +61,13 @@ ifeq ($(enable-shared),yes)
 
   libpetscall.g$(shared-lib-suffix): $(xlib.g)
        @echo "======================debug============= Linking library:   libpetscall.g$(shared-lib-suffix)"
-       @$(CXX) -shared -o libpetscall.g$(shared-lib-suffix) \
-               -Wl,-rpath,$(lib-contrib-petsc-path.g) $(xlib.g)
+       @$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o libpetscall.g$(shared-lib-suffix) \
+               $(xlib.g)
 
   libpetscall$(shared-lib-suffix): $(xlib.o)
        @echo "======================optimized========= Linking library:   libpetscall$(shared-lib-suffix)"
-       @$(CXX) -shared -o libpetscall$(shared-lib-suffix) \
-               -Wl,-rpath,$(lib-contrib-petsc-path.o) $(xlib.o)
+       @$(SHLIBLD) $(LDFLAGS) $(SHLIBFLAGS) -o libpetscall$(shared-lib-suffix) \
+               $(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


Typeset in Trocchi and Trocchi Bold Sans Serif.