Fix lib search pathes, fix rpath in modules
authorNicolas Thill <nico@openwrt.org>
Sat, 28 May 2005 10:56:12 +0000 (10:56 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 28 May 2005 10:56:12 +0000 (10:56 +0000)
SVN-Revision: 1088

openwrt/package/freeradius/Makefile

index f94f73e2b0a7b6c83123d65b7d0079ac322df52a..a9b271a07d826a2cdd6920777c62450404be3d0a 100644 (file)
@@ -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) \