rubygem-pg/rubygem-pg-1.3.0-remove-rpath.patch
wubijie 9f48a474bb Upgrade to version 1.4.5
(cherry picked from commit edf568e3d31dc3b5a31c3f435a3236deaadd746d)
2023-08-10 10:45:24 +08:00

18 lines
469 B
Diff

diff --git a/ext/extconf.rb b/ext/extconf.rb
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -52,13 +52,6 @@
else
incdir, libdir = dir_config 'pg'
dlldir = libdir
- end
-
- # Try to use runtime path linker option, even if RbConfig doesn't know about it.
- # The rpath option is usually set implicit by dir_config(), but so far not
- # on MacOS-X.
- if dlldir && RbConfig::CONFIG["RPATHFLAG"].to_s.empty?
- append_ldflags "-Wl,-rpath,#{dlldir.quote}"
end
end