X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/2e64e83b36b8ed041b0b48892f19befbd665a251..fd3ec1cfcdea390e21d7ffb8d8a2e9d45dd83f29:/package/gnutls/Makefile diff --git a/package/gnutls/Makefile b/package/gnutls/Makefile index fdb3b13b0..4e7ccb95e 100644 --- a/package/gnutls/Makefile +++ b/package/gnutls/Makefile @@ -35,7 +35,7 @@ $(PKG_BUILD_DIR)/.configured: $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -62,10 +62,9 @@ $(PKG_BUILD_DIR)/.configured: --disable-srp-authentication \ --disable-anon-authentication \ --disable-openpgp-authentication \ - --with-libgcrypt-prefix="$(STAGING_DIR)/usr" \ - --with-libopencdk-prefix="$(STAGING_DIR)/usr" \ - --with-libtasn1-prefix="$(STAGING_DIR)/usr" \ - --with-included-libcfg \ + --with-included-opencdk=yes \ + --with-included-libtasn1=yes \ + --with-included-libcfg=yes \ --without-zlib \ --without-lzo \ ); @@ -121,9 +120,8 @@ uninstall-dev: $(STAGING_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc \ $(STAGING_DIR)/usr/share/aclocal/libgnutls{,-extra}.m4 \ -compile: install-dev - -clean: uninstall-dev +compile-targets: install-dev +clean-targets: uninstall-dev mostlyclean: make -C $(PKG_BUILD_DIR) clean