0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 27e37d2621317d25e08ba0683bf8540b05b9347d Mon Sep 17 00:00:00 2001
  2. From: Philippe Proulx <eeppeliteloop@gmail.com>
  3. Date: Fri, 28 Oct 2016 02:09:20 -0400
  4. Subject: [PATCH] tests/lib/Makefile.am: remove unneeded -static flag
  5. Having those -static flags breaks the build in shared-only builds.
  6. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
  7. [Philippe: grabbed from this pull request:
  8. https://github.com/efficios/babeltrace/pull/49
  9. ]
  10. ---
  11. tests/lib/Makefile.am | 2 --
  12. 1 file changed, 2 deletions(-)
  13. diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
  14. index 33ada16..c685e77 100644
  15. --- a/tests/lib/Makefile.am
  16. +++ b/tests/lib/Makefile.am
  17. @@ -31,13 +31,11 @@ check_SCRIPTS = test_seek_big_trace \
  18. test_ctf_writer_complete
  19. if ENABLE_DEBUG_INFO
  20. -test_dwarf_LDFLAGS = -static
  21. test_dwarf_LDADD = $(LIBTAP) \
  22. $(top_builddir)/lib/libbabeltrace.la \
  23. $(top_builddir)/lib/libdebug-info.la
  24. test_dwarf_SOURCES = test_dwarf.c
  25. -test_bin_info_LDFLAGS = -static
  26. test_bin_info_LDADD = $(LIBTAP) \
  27. $(top_builddir)/lib/libbabeltrace.la \
  28. $(top_builddir)/lib/libdebug-info.la
  29. --
  30. 2.9.3