]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Also export the old lib-suffix variables in Make.global_options
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 31 Aug 2013 15:12:26 +0000 (15:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 31 Aug 2013 15:12:26 +0000 (15:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@30543 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/config/Make.global_options.in
deal.II/doc/news/changes.h

index a32109a4643addc26254d023ebb7e571c414630d..cc00835e7440e8448ea655089eaae2d4cd6fc3cf 100644 (file)
@@ -66,6 +66,15 @@ DEAL_II_USE_MPI      = @MAKEFILE_MPI@
 OBJEXT     = o
 EXEEXT     =
 
+shared-lib-suffix = .so
+static-lib-suffix = .a
+
+ifeq ($(enable-shared),yes)
+  lib-suffix = $(shared-lib-suffix)
+else
+  lib-suffix = $(static-lib-suffix)
+endif
+
 
 # set paths to all the libraries we need:
 lib-deal2.o     = @MAKEFILE_TARGETS_RELEASE@
index dfaee2546e08a2003594d1b2d1cbf605709a602e..c99ce95f9d627e1755679c9143dfe9903b65e3e8 100644 (file)
@@ -69,9 +69,10 @@ inconvenience this causes.
 
 <ol>
   <li>
-  Fixed: The flag <code>DEAL_II_WITH_THREADS</code> that is exported into
-  the legacy file <code>common/Make.global_options</code> was not set
-  properly.
+  Fixed: <code>common/Make.global_options</code> now exports enable-threads
+  correctly, furthermore, <code>lib-suffix</code>, <code>shared-lib-suffix</code>
+  and <code>static-lib-suffix</code> are now exported as well for better legacy
+  support.
   <br>
   (Matthias Maier, 2013/08/30)
   </li>

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.