X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7d0a124f851b7e831a0ef0005fe475b7f7ddf19a..aa81ab352fa8c77247e5e71ede093fa459be11a0:/openwrt/package/freeradius/Makefile?ds=sidebyside 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) \