From 169534045494365796ed5d3e39cfaa8d31deb342 Mon Sep 17 00:00:00 2001 From: Danilo Piparo Date: Sat, 25 Jul 2026 16:15:35 +0200 Subject: [PATCH] [build] Do not strip away symbols from libraries and executables By default, scikit-build triggers the stripping of debugging and other symbols, in order to optimize for space. However, the stripping is too aggressive on macOS. This has undesired effects. For example, also the rootcling symbol `usedToIdentifyRootClingByDlSym` is stripped. Its presence changes the behaviour of some routines some ROOT libraries, e.g. when generating dictionaries. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 096eba25b8703..ccb3c0d861cfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ dependencies = [ # Point backend to python packages and to explicitly use Ninja [tool.scikit-build] +install.strip = false wheel.packages = [ "bindings/pyroot/pythonizations/python/ROOT", "bindings/pyroot/cppyy/cppyy/python/cppyy",