rubygem-pg/rubygem-pg-1.3.0-remove-rpath.patch
Jarek Prokop e14bb26818 Upgrade to pg 1.5.4.
Import from Fedora @ 134cc6e

Related: RHEL-17089
2024-01-29 13:56:37 +01:00

18 lines
505 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
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
-
if /mswin/ =~ RUBY_PLATFORM
$libs = append_library($libs, 'ws2_32')
end