From 0c678ba2ffa5d4b7cc48a176d7375fc476a04ff9 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 25 Oct 2010 23:42:35 +0000 Subject: [PATCH] Link with p4est if necessary. git-svn-id: https://svn.dealii.org/trunk@22485 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)),) -- 2.39.5