diff options
author | Mikhail Novosyolov <[email protected]> | 2020-01-26 16:37:34 +0300 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-02-04 08:04:13 +0900 |
commit | 7c165bd7d9451cc5c9fc833807ca071d7012e138 (patch) | |
tree | 36cc41b93b4362bcd3abf2359d0eb52177903a79 | |
parent | a4fca28b805cc8714cad1107424d97b822bf6414 (diff) |
Fix linkage of popen_deadlock test
DEBUG: BUILDSTDERR: /usr/bin/ld: infinite_loop_dlsym.o: in function `native_loop_dlsym':
DEBUG: BUILDSTDERR: /builddir/build/BUILD/ruby-2.7.0/ext/-test-/popen_deadlock/infinite_loop_dlsym.c:16: undefined reference to `dlsym'
DEBUG: BUILDSTDERR: collect2: error: ld returned 1 exit status
Ruby was built with LibreSSL.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2862
-rw-r--r-- | ext/-test-/popen_deadlock/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/-test-/popen_deadlock/extconf.rb b/ext/-test-/popen_deadlock/extconf.rb index 24a7d79931..6b6ee7a6b8 100644 --- a/ext/-test-/popen_deadlock/extconf.rb +++ b/ext/-test-/popen_deadlock/extconf.rb @@ -1,5 +1,6 @@ # frozen_string_literal: false case RUBY_PLATFORM when /solaris/i, /linux/i + $LDFLAGS << " -ldl" create_makefile("-test-/popen_deadlock/infinite_loop_dlsym") end |