]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also link with on darwin
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 06:34:06 +0000 (06:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Nov 2006 06:34:06 +0000 (06:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@14215 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/Makefile

index 081ae9beea3fcae622446cb07c49ed44e4c68730..540bd2b045090fabb063ef0c549a2f975a76dc01 100644 (file)
@@ -66,9 +66,9 @@ ifneq ($(GXX-VERSION),compaq_cxx)
     deplibs.o += $(lib-contrib-petsc.o)
   endif
 
-  # for cygwin, also llapack and such are necessary
-  # we better link all libraries mentioned in $(libs)
-  ifeq ($(findstring cygwin,$(TARGET)),cygwin)
+  # for cygwin and darwin, also llapack and such are necessary
+  # we better link all libraries mentioned in $(LIBS)
+  ifneq ($(findstring cygwin,$(TARGET))$(findstring darwin,$(TARGET)),)
     deplibs.g += $(LIBS)
     deplibs.o += $(LIBS)
   endif

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.