fix br2684 build, set common include and lib searchpatch,
[openwrt.git] / openwrt / package / gnutls / Makefile
index fdb3b13..3e8a31e 100644 (file)
@@ -35,7 +35,7 @@ $(PKG_BUILD_DIR)/.configured:
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
                $(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) \
                ./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 \
                --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 \
        );
                --without-zlib \
                --without-lzo \
        );
This page took 0.026331 seconds and 4 git commands to generate.