summaryrefslogtreecommitdiff
path: root/package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch
blob: b903d87223b0e646425ccd523e9171d6af4a485a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 27e37d2621317d25e08ba0683bf8540b05b9347d Mon Sep 17 00:00:00 2001
From: Philippe Proulx <eeppeliteloop@gmail.com>
Date: Fri, 28 Oct 2016 02:09:20 -0400
Subject: [PATCH] tests/lib/Makefile.am: remove unneeded -static flag

Having those -static flags breaks the build in shared-only builds.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
[Philippe: grabbed from this pull request:
    https://github.com/efficios/babeltrace/pull/49
]
---
 tests/lib/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
index 33ada16..c685e77 100644
--- a/tests/lib/Makefile.am
+++ b/tests/lib/Makefile.am
@@ -31,13 +31,11 @@ check_SCRIPTS = test_seek_big_trace \
 		test_ctf_writer_complete
 
 if ENABLE_DEBUG_INFO
-test_dwarf_LDFLAGS = -static
 test_dwarf_LDADD = $(LIBTAP) \
 	$(top_builddir)/lib/libbabeltrace.la \
 	$(top_builddir)/lib/libdebug-info.la
 test_dwarf_SOURCES = test_dwarf.c
 
-test_bin_info_LDFLAGS = -static
 test_bin_info_LDADD = $(LIBTAP) \
 	$(top_builddir)/lib/libbabeltrace.la \
 	$(top_builddir)/lib/libdebug-info.la
-- 
2.9.3