summaryrefslogtreecommitdiff
path: root/openwrt/package/freeradius/Makefile
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
commitd2c45a7912f0d606b2effaea52ed9b98c03233fa (patch)
treed3e96d5e48cb1ebeafe1595de321f5d809b4dafe /openwrt/package/freeradius/Makefile
parentc1d1cf837633d4804e06a0168acc7fd73fc2a18e (diff)
downloadmtk-20170518-d2c45a7912f0d606b2effaea52ed9b98c03233fa.zip
mtk-20170518-d2c45a7912f0d606b2effaea52ed9b98c03233fa.tar.gz
mtk-20170518-d2c45a7912f0d606b2effaea52ed9b98c03233fa.tar.bz2
Fix lib search pathes, fix rpath in modules
SVN-Revision: 1088
Diffstat (limited to 'openwrt/package/freeradius/Makefile')
-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 f94f73e..a9b271a 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) \