From 3b7b9a30aa94a43637f0880375a7b01411dde905 Mon Sep 17 00:00:00 2001 From: Wolfgang 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