aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-28 10:56:12 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-28 10:56:12 +0000
commit4001ef33b5794aedf5f87a33874a468bad5546e0 (patch)
tree242901e6068aa87c33446cce576c23ea35a02461
parent5c5aac6e8ae41696ad545ae436cbf8af11d008ae (diff)
downloadupstream-4001ef33b5794aedf5f87a33874a468bad5546e0.tar.gz
upstream-4001ef33b5794aedf5f87a33874a468bad5546e0.tar.bz2
upstream-4001ef33b5794aedf5f87a33874a468bad5546e0.zip
Fix lib search pathes, fix rpath in modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1088 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/freeradius/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/freeradius/Makefile b/package/freeradius/Makefile
index f94f73e2b0..a9b271a07d 100644
--- a/package/freeradius/Makefile
+++ b/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) \