summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Duffy <charles@dyfis.net>2015-10-13 23:29:37 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-15 09:38:08 +0200
commitbb41933d3642f44c8d2db07886b2e5bf18b97fad (patch)
tree10292c20f83649cfe5fd12ea23ff116308a39213
parentf8ce3d329778f39f097d959ac631cfff7d05bf49 (diff)
downloadbuildroot-bb41933d3642f44c8d2db07886b2e5bf18b97fad.tar.gz
buildroot-bb41933d3642f44c8d2db07886b2e5bf18b97fad.zip
musl: honor static vs. shared library options
[Thomas: use SHARED_STATIC_LIBS_OPTS to simplify the logic.] Signed-off-by: Charles Duffy <chaduffy@cisco.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/musl/musl.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/musl/musl.mk b/package/musl/musl.mk
index 22589f544e..f0c45f538b 100644
--- a/package/musl/musl.mk
+++ b/package/musl/musl.mk
@@ -28,7 +28,8 @@ define MUSL_CONFIGURE_CMDS
--host=$(GNU_TARGET_NAME) \
--prefix=/usr \
--libdir=/lib \
- --disable-gcc-wrapper)
+ --disable-gcc-wrapper \
+ $(SHARED_STATIC_LIBS_OPTS))
endef
define MUSL_BUILD_CMDS
OpenPOWER on IntegriCloud