]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Patch by Christian Cornelssen: If on .so systems, use the form libxx.so.6.2.1 fo...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Oct 2008 23:49:08 +0000 (23:49 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Oct 2008 23:49:08 +0000 (23:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@17343 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in

index a5859e7b4339a7c317663aa5c8f0a486cf4d8100..98d58d959bd69fb5400c58006e3c1ab1a08a7e22 100644 (file)
@@ -112,8 +112,11 @@ lib-deal2-2d.g = $(LIBDIR)/libdeal_II_2d.g$(lib-suffix)
 lib-deal2-3d.g = $(LIBDIR)/libdeal_II_3d.g$(lib-suffix)
 
 # dealing with shared libraries
-DEAL_II_SHLIB_NAME = lib$(1)$(shared-lib-suffix).$(DEAL_II_VERSION)
-
+ifeq ($(shared-lib-suffix),.so)
+  DEAL_II_SHLIB_NAME = lib$(1)$(shared-lib-suffix).$(DEAL_II_VERSION)
+else
+  DEAL_II_SHLIB_NAME = lib$(1).$(DEAL_II_VERSION)$(shared-lib-suffix)
+endif
 ifeq (@DEAL_II_LD_UNDERSTANDS_SONAME@,yes)
   DEAL_II_ADD_SONAME = -Wl,-soname,$(call DEAL_II_SHLIB_NAME,$(1))
 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.