diff --git a/openwrt/package/libgpg-error/Makefile b/openwrt/package/libgpg-error/Makefile index cc61fd6b2bb..48e2b5ff8e3 100644 --- a/openwrt/package/libgpg-error/Makefile +++ b/openwrt/package/libgpg-error/Makefile @@ -26,7 +26,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) \