From: Wolfgang Bangerth Date: Mon, 25 Oct 2010 23:42:35 +0000 (+0000) Subject: Link with p4est if necessary. X-Git-Tag: v8.0.0~5172 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b7b9a30aa94a43637f0880375a7b01411dde905;p=dealii.git Link with p4est if necessary. git-svn-id: https://svn.dealii.org/trunk@22485 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/Makefile b/deal.II/source/Makefile index a2b82549cb..519fa3738b 100644 --- a/deal.II/source/Makefile +++ b/deal.II/source/Makefile @@ -149,6 +149,16 @@ ifneq ($(GXX-VERSION),compaq_cxx) deplibs.o += $D/lib/libtbb$(shared-lib-suffix) endif + # and p4est + ifeq ($(USE_CONTRIB_P4EST),yes) + deplibs.g += $(DEAL_II_P4EST_DIR)/DEBUG/lib/libp4est.so \ + $(DEAL_II_P4EST_DIR)/DEBUG/lib/libsc.so \ + -Wl,-rpath,$(DEAL_II_P4EST_DIR)/DEBUG/lib + deplibs.o += $(DEAL_II_P4EST_DIR)/FAST/lib/libp4est.so \ + $(DEAL_II_P4EST_DIR)/FAST/lib/libsc.so \ + -Wl,-rpath,$(DEAL_II_P4EST_DIR)/FAST/lib + endif + # 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)),)