From: Nicolas Thill Date: Sat, 28 May 2005 10:56:12 +0000 (+0000) Subject: Fix lib search pathes, fix rpath in modules X-Git-Tag: reboot~32635 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d2c45a7912f0d606b2effaea52ed9b98c03233fa;p=openwrt%2Fopenwrt.git Fix lib search pathes, fix rpath in modules SVN-Revision: 1088 --- diff --git a/openwrt/package/freeradius/Makefile b/openwrt/package/freeradius/Makefile index f94f73e2b0..a9b271a07d 100644 --- a/openwrt/package/freeradius/Makefile +++ b/openwrt/package/freeradius/Makefile @@ -125,8 +125,9 @@ $(PKG_BUILD_DIR)/.configured: $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(PKG_INSTALL_DIR)/usr/lib/freeradius" \ - lt_sys_lib_search_path_spec="$(STAGING_DIR)/usr/lib" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ + sys_lib_dlsearch_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \ + sys_lib_search_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \ MYSQL_CONFIG="no" \ ./configure \ --target=$(GNU_TARGET_NAME) \