diff options
Diffstat (limited to 'c++/test')
-rw-r--r-- | c++/test/Makefile.am | 3 | ||||
-rw-r--r-- | c++/test/Makefile.in | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/c++/test/Makefile.am b/c++/test/Makefile.am index 34c1945..62dfb37 100644 --- a/c++/test/Makefile.am +++ b/c++/test/Makefile.am @@ -22,6 +22,9 @@ include $(top_srcdir)/config/commence.am # Include src, test, and c++/src directories INCLUDES=-I$(top_srcdir)/src -I$(top_srcdir)/test -I$(top_srcdir)/c++/src +# C++ libraries and tests are built statically +AM_LDFLAGS=-static + # These are our main targets. They should be listed in the order to be # executed, generally most specific tests to least specific tests. TEST_PROG=dsets testhdf5 diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index 2df0e49..6d88e49 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -196,6 +196,9 @@ F9XMODFLAG = @F9XMODFLAG@ # Include src, test, and c++/src directories INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/test -I$(top_srcdir)/c++/src +# C++ libraries and tests are built statically +AM_LDFLAGS = -static + # These are our main targets. They should be listed in the order to be # executed, generally most specific tests to least specific tests. TEST_PROG = dsets testhdf5 |