File wxWidgets-config-force-rpath.patch of Package wxWidgets-ansi.import4971

--- wx-config.in
+++ wx-config.in
@@ -130,7 +130,7 @@
 wxconfig_yesno_options="universal unicode debug static"
 
 # Boolean options that do something or not.
-wxconfig_flag_options="$wxconfig_yesno_options selected_config no_rpath inplace"
+wxconfig_flag_options="$wxconfig_yesno_options selected_config inplace"
 
 
 
@@ -1204,7 +1204,7 @@
         [ "x$libdir" = "x/usr/lib" ]            ||
         _ldflags="-L$libdir"
 
-    is_installed || [ -n "$flag_option_no_rpath" ] || _rpath="@WXCONFIG_RPATH@"
+    [ -n "$flag_option_no_rpath" ] || _rpath="@WXCONFIG_RPATH@"
 
     echo $_ldflags "@LDFLAGS@" $_rpath $wx_libs "@DMALLOC_LIBS@"
 fi