Project

General

Profile

Actions

Feature #17741

open

Ruby links to `objc` for convenience - this should be moved into a native ext

Added by rickmark (Rick Mark) about 3 years ago. Updated about 3 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:102979]

Description

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) ruby_final.txt rickmark (Rick Mark), 03/22/2021 07:56 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #17730: Ruby on macOS transitively links to ~150 dylibsClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0