From: bangerth Date: Sun, 26 Oct 2008 23:49:08 +0000 (+0000) Subject: Patch by Christian Cornelssen: If on .so systems, use the form libxx.so.6.2.1 fo... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b24b5ea6ea0c219aacd2019bae9a54ef56456e;p=dealii-svn.git Patch by Christian Cornelssen: If on .so systems, use the form libxx.so.6.2.1 fo shared libraries. Otherwise use libxx.6.2.1.so. git-svn-id: https://svn.dealii.org/trunk@17343 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index a5859e7b43..98d58d959b 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -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