aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2022-08-26 14:14:56 +0300
committerMatias Elo <matias.elo@nokia.com>2022-09-09 10:24:07 +0300
commit819d1f3d15caae51f0cf884e056dbdac27e06ce7 (patch)
tree16c276ef292a6339569c9361196b23339ca38e20 /example
parent7d91db3d322585f2f039a50638bd4334a994baa5 (diff)
test: link statically unless --disable-static-applications is given
test/Makefile.inc is missing the -static option when linking should be static. Add it to AM_LDFLAGS. Also, remove -L$(LIB). It's not needed since libraries in $(LIB) are linked with path. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/Makefile.inc b/example/Makefile.inc
index 1893e9e1d..895901f46 100644
--- a/example/Makefile.inc
+++ b/example/Makefile.inc
@@ -11,7 +11,7 @@ AM_CFLAGS += \
$(HELPER_INCLUDES)
if STATIC_APPS
-AM_LDFLAGS += -L$(LIB) -static
+AM_LDFLAGS += -static
endif
AM_LDFLAGS += $(PLAT_DEP_LIBS)