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>
This commit is contained in:
Charles Duffy 2015-10-13 23:29:37 -05:00 committed by Thomas Petazzoni
parent f8ce3d3297
commit bb41933d36

View File

@ -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