libdap-3.18.1-fix-buildsystem.patch 621 B

123456789101112131415161718192021
  1. Do not install headers and static library required only for test suite.
  2. --- a/tests/Makefile.am
  3. +++ b/tests/Makefile.am
  4. @@ -36,13 +36,13 @@
  5. # Build the test drivers. The drivers all use the
  6. # subclassed types in Test*.cc and the TestTypesFactory.
  7. -lib_LIBRARIES = libtest-types.a
  8. +noinst_LIBRARIES = libtest-types.a
  9. libtest_types_a_SOURCES = $(TESTSRCS) $(TEST_HDR)
  10. libtest_types_a_CXXFLAGS = -fPIC
  11. testheadersdir = $(pkgincludedir)/test
  12. -testheaders_HEADERS = $(TEST_HDR)
  13. +noinst_testheaders = $(TEST_HDR)
  14. das_test_SOURCES = das-test.cc
  15. das_test_LDADD = libtest-types.a ../libdapserver.la ../libdap.la