Skip to content

Commit 5722d3b

Browse files
authored
Merge pull request #699 from ged/remove-rpath
Remove enforced rpath addition when no rpath is configured
2 parents 4419c2e + 0631a02 commit 5722d3b

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

ext/extconf.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,6 @@ def install
218218
dlldir = libdir
219219
end
220220

221-
# Try to use runtime path linker option, even if RbConfig doesn't know about it.
222-
# The rpath option is usually set implicit by dir_config(), but so far not
223-
# on MacOS-X.
224-
if dlldir && RbConfig::CONFIG["RPATHFLAG"].to_s.empty?
225-
append_ldflags "-Wl,-rpath,#{dlldir.quote}"
226-
end
227-
228221
if /mswin/ =~ RUBY_PLATFORM
229222
$libs = append_library($libs, 'ws2_32')
230223
end

0 commit comments

Comments
 (0)