diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2020-05-29 20:05:00 +0200 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2020-05-29 20:05:00 +0200 |
commit | 97483e904d46d6d54cb832696f5ad0a81aa3b7b0 (patch) | |
tree | e4d85c48985b6c1c709a1fe73cf97f25745f8028 | |
parent | 35864dd39a6ee9e55f8ba54a159b52aaf75a3fb5 (diff) | |
download | embedlog-97483e904d46d6d54cb832696f5ad0a81aa3b7b0.tar.gz embedlog-97483e904d46d6d54cb832696f5ad0a81aa3b7b0.tar.bz2 embedlog-97483e904d46d6d54cb832696f5ad0a81aa3b7b0.zip |
Makefile.am: do not force static linking for examples and test
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r-- | examples/Makefile.am | 2 | ||||
-rw-r--r-- | tst/Makefile.am | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index c14f881..8128f32 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,5 +1,5 @@ CFLAGS += -I$(top_builddir)/include -I$(top_srcdir)/src -VLDFLAGS = -static +VLDFLAGS = VLDADD = $(top_builddir)/src/libembedlog.la EXTRA_PROGRAMS = print_to_file \ diff --git a/tst/Makefile.am b/tst/Makefile.am index fb571ba..d2b65f7 100644 --- a/tst/Makefile.am +++ b/tst/Makefile.am @@ -15,10 +15,8 @@ test_CFLAGS = -I$(top_builddir)/include \ -I$(top_srcdir)/src \ $(COVERAGE_CFLAGS) -test_LDFLAGS = \ - $(COVERAGE_LDFLAGS) \ - -Wl,-Bstatic $(top_builddir)/src/libembedlog.la -Wl,-Bdynamic -test_LDADD = -lrb +test_LDFLAGS = $(COVERAGE_LDFLAGS) +test_LDADD = -lrb $(top_builddir)/src/libembedlog.la TESTS = $(check_PROGRAMS) LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ |