[ruby-core:102979] [Ruby master Feature#17741] Ruby links to `objc` for convenience - this should be moved into a native ext
From:
rickmark@...
Date:
2021-03-22 19:56:51 UTC
List:
ruby-core #102979
Issue #17741 has been reported by rickmark (Rick Mark). ---------------------------------------- Feature #17741: Ruby links to `objc` for convenience - this should be moved into a native ext https://bugs.ruby-lang.org/issues/17741 * Author: rickmark (Rick Mark) * Status: Open * Priority: Normal ---------------------------------------- As a convenance to extension developers Ruby on macOS always links to libobjc. This could be better handled with a native ObjC extension so that one could `require 'objc'` to add this to the process. The extension would link to libobjc and provide bindings to `objc_msgSend` and friends. By not linking to libobjc we can also avoid linking to libc++abi and all that entails. This makes ruby on mac more similar to ruby when compiled on other platforms. ---Files-------------------------------- ruby_final.txt (2.24 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>