From 8ffe944519067e2667837614dd0ffc90598bdffd Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 28 Jul 2016 17:15:39 +0200 Subject: [PATCH] test/Makefile.am - link static if debug is enabled --- test/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Makefile.am b/test/Makefile.am index 175f578..ab9a042 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,6 +1,10 @@ AM_CPPFLAGS += -I$(top_srcdir)/src/include AM_LDFLAGS += -L${abs_top_builddir}/src/h5core/.libs +if ENABLE_DEBUG +AM_LDFLAGS += -static +endif + LDADD = LDADD += -lH5hut