From 4976ad0c0d50651cf68627140dea4bf396e433b7 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Sun, 8 Dec 2024 14:34:55 +0100 Subject: [PATCH] Add workaround for `install_name_tool` issue --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 05e8ca67e1..25c3fabc2a 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,7 @@ import sys from collections import defaultdict import logging +import platform logging.basicConfig(level=logging.INFO) from shutil import copytree, which @@ -461,6 +462,8 @@ def setup_package(): + ["-Wl,-rpath,{}".format(REL_RPATH + "/../../.data/lib/")], ) ) + if platform.system() == "Darwin": + rxd_params["extra_link_args"] += ["-headerpad_max_install_names"] logging.info("RX3D compile flags %s" % str(rxd_params))