diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-28 13:59:16 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-28 13:59:16 +0200 |
commit | 7d21e25fc4ac3c3bb24204c8fc8c694ccda2b4c8 (patch) | |
tree | dc2368ebbc4632003a11ae19b9cd8c1331e97471 | |
parent | e7cffa2b83cf4de5ab35802c914c2e7ac8d7f770 (diff) |
allow static building
-rw-r--r-- | package/openssl/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 83d538537..cf7d657fa 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -25,9 +25,13 @@ PKGSS_LIBOPENSSL_DEV:= libopenssl PKG_FLAVOURS_LIBOPENSSL:= WITH_EC PKGFD_WITH_EC:= enable Elliptic Curve crypto +ifeq ($(ADK_STATIC),y) +PKG_OPTS:= libonly +endif + include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBOPENSSL,libopenssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBOPENSSL,libopenssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS))) $(eval $(call PKG_template,LIBOPENSSL_DEV,libopenssl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENSSL_DEV},${PKGSD_LIBOPENSSL_DEV},${PKGSC_LIBOPENSSL_DEV})) $(eval $(call PKG_template,OPENSSL_UTIL,openssl-util,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_OPENSSL_UTIL},${PKGSD_OPENSSL_UTIL},${PKGSC_OPENSSL_UTIL})) |