summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-02 21:46:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-02 21:46:35 +0100
commit1e4692f23566ae6d388b2962fb6976c1383b5f00 (patch)
tree73f85b31cff0f9df267de5f1bb9ef727795f7907
parent23cf2277fc82a948482adf6f11ae132f58cf263e (diff)
libevent: fix non-static build
-rw-r--r--package/libevent/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libevent/Makefile b/package/libevent/Makefile
index b5d932834..55a3d5ca6 100644
--- a/package/libevent/Makefile
+++ b/package/libevent/Makefile
@@ -20,7 +20,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBEVENT,libevent,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
MAKE_FLAGS+= LDFLAGS="$(TARGET_LDFLAGS) -all-static"
+endif
libevent-install:
$(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib