diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-07-31 13:41:03 +0200 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-08-04 11:15:46 +0400 |
commit | 57611a5057abfa20842593a049edc7ad9386e468 (patch) | |
tree | 4227f718a1a3971d60478c262a9c02b5ac8ab196 /test | |
parent | 940544e42a8c5ee6b0cd11cf257c745f802406bf (diff) |
build both static and dynamic linked libs
Move static decisions to Makefiles instead in the configure scripts.
This makes it possible to build binaries with shared, static or
all-static without reconfiguring and libodp is built both static
and dynamic per default.
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/api_test/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/api_test/Makefile.am b/test/api_test/Makefile.am index fd7eab3b..51044540 100644 --- a/test/api_test/Makefile.am +++ b/test/api_test/Makefile.am @@ -1,6 +1,10 @@ include $(top_srcdir)/test/Makefile.inc bin_PROGRAMS = odp_atomic odp_shm odp_ring odp_timer_ping +odp_atomic_LDFLAGS = $(AM_LDFLAGS) -static +odp_shm_LDFLAGS = $(AM_LDFLAGS) -static +odp_ring_LDFLAGS = $(AM_LDFLAGS) -static +odp_timer_ping_LDFLAGS = $(AM_LDFLAGS) -static dist_odp_atomic_SOURCES = odp_atomic_test.c odp_common.c dist_odp_shm_SOURCES = odp_shm_test.c odp_common.c |