Browse Source

Merge pull request #8569 from bluewavenet/patch-3

libmicrohttpd: Revert to Named no-ssl Version
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
f885a0d91c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      libs/libmicrohttpd/Makefile

+ 6
- 4
libs/libmicrohttpd/Makefile View File

@ -30,10 +30,11 @@ define Package/libmicrohttpd/default
URL:=http://www.gnu.org/software/libmicrohttpd/
endef
define Package/libmicrohttpd
define Package/libmicrohttpd-no-ssl
$(call Package/libmicrohttpd/default)
VARIANT:=nossl
CONFLICTS:=libmicrohttpd-ssl
DEFAULT_VARIANT:=1
PROVIDES:=libmicrohttpd
endef
define Package/libmicrohttpd-ssl
@ -41,6 +42,7 @@ $(call Package/libmicrohttpd/default)
TITLE+= with SSL support
VARIANT:=ssl
DEPENDS:=+libgcrypt +libgnutls +libgpg-error
CONFLICTS:=libmicrohttpd-no-ssl
PROVIDES:=libmicrohttpd
endef
@ -76,7 +78,7 @@ define Build/InstallDev
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmicrohttpd.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libmicrohttpd/install
define Package/libmicrohttpd-no-ssl/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/
endef
@ -86,5 +88,5 @@ define Package/libmicrohttpd-ssl/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libmicrohttpd))
$(eval $(call BuildPackage,libmicrohttpd-no-ssl))
$(eval $(call BuildPackage,libmicrohttpd-ssl))

Loading…
Cancel
Save