rubygem-pg/rubygem-pg-1.3.0-remove-rpath.patch
Jarek Prokop 86855274a8 Update to pg 1.3.5.
The tests in spec/pg/scheduler_spec.rb are now timing independent.
The nonblocking code tests now use TCPGate helper instead of just
waiting for timeout.
Relevant comment: https://github.com/ged/ruby-pg/issues/424#issuecomment-1027252494

Resolves: rhbz#1814862
2022-05-24 17:56:12 +02:00

18 lines
469 B
Diff

diff --git a/ext/extconf.rb b/ext/extconf.rb
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -54,13 +54,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