libxmlrpc: fix static build
Fixes: http://autobuild.buildroot.net/results/16d/16de14ace7b4e089f56b9cb173542e487cae3a9d/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
685449372a
commit
22501805ed
@ -35,4 +35,14 @@ LIBXMLRPC_MAKE_ENV = \
|
||||
CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
|
||||
LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)"
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LIBXMLRPC_STATIC_OPTS = SHARED_LIB_TYPE=NONE MUST_BUILD_SHLIB=N
|
||||
endif
|
||||
|
||||
LIBXMLRPC_MAKE_OPTS = $(LIBXMLRPC_STATIC_OPTS)
|
||||
LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
|
||||
DESTDIR=$(STAGING_DIR) install
|
||||
LIBXMLRPC_INSTALL_TARGET_OPTS = $(LIBXMLRPC_STATIC_OPTS) \
|
||||
DESTDIR=$(TARGET_DIR) install
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user