[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] apply -rpath option when running install_name_tool
From: |
felix . winkelmann |
Subject: |
[PATCH] apply -rpath option when running install_name_tool |
Date: |
Thu, 12 Dec 2024 15:01:53 +0100 |
Hi!
This patch ensures that any runtime-linker path is specified with the "-rpath"
option in csc, then it is used when invoking "install_name_tool" to modify
the runtime path in produced executables. Other platforms use "-Wl,-rpath"
or similar, but on Mac OS this is done via said tool.
This also caused problems when running "make check" on Macs with an old
installation still in the install-prefix: csc would invoke install_name_tool
with
the default prefix and thus any installed libchicken would be picked (instead
of the new one just built). On Linux LD_LIBRARY_PATH takes care of that
(and rpaths are not set by default).
cheers,
felix
0001-csc-use-rpath-option-value-when-invoking-postinstall.patch
Description: Text Data
- [PATCH] apply -rpath option when running install_name_tool,
felix . winkelmann <=