summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-28 10:56:12 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-28 10:56:12 +0000
commit86c25dfca03b9311e74493b50dc1985451b6e615 (patch)
treed3e96d5e48cb1ebeafe1595de321f5d809b4dafe
parent5318f05f8297bb59098ab24b344bf8fe4b66e889 (diff)
Fix lib search pathes, fix rpath in modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1088 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/freeradius/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/openwrt/package/freeradius/Makefile b/openwrt/package/freeradius/Makefile
index f94f73e2b..a9b271a07 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) \