Commit 5eb7edff authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

gnutls: more generic way to force the available API entries

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 17595186
...@@ -51,15 +51,17 @@ GNUTLS_CONF := \ ...@@ -51,15 +51,17 @@ GNUTLS_CONF := \
--disable-tests \ --disable-tests \
$(HOSTCONF) $(HOSTCONF)
GNUTLS_ENV := $(HOSTVARS)
DEPS_gnutls = nettle $(DEPS_nettle) DEPS_gnutls = nettle $(DEPS_nettle)
.gnutls: gnutls
$(RECONF)
ifdef HAVE_ANDROID ifdef HAVE_ANDROID
cd $< && $(HOSTVARS) gl_cv_header_working_stdint_h=yes ./configure $(GNUTLS_CONF) GNUTLS_ENV += gl_cv_header_working_stdint_h=yes
else
cd $< && $(HOSTVARS) ./configure $(GNUTLS_CONF)
endif endif
.gnutls: gnutls
$(RECONF)
cd $< && $(GNUTLS_ENV) ./configure $(GNUTLS_CONF)
cd $</gl && $(MAKE) install cd $</gl && $(MAKE) install
cd $</lib && $(MAKE) install cd $</lib && $(MAKE) install
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment