LUMIERA.clone/admin/scons
Ichthyostega 3812c801fb Build: ensure that installed shared libs are not executable
This is a Debian policy, which collides with the default behaviour
of GCC rsp. the plattform linker. The latter creates all ELF files as
executable, possibly because some platforms require that, and also
because some libraries provide a main() function for diagnostics.

The argument by the Debian people is that most libraries don't provide
such a main() and that this is an esoteric feature which should not be
supported by default.

We can fix that in our SCons build, since we use a specialised Builder
to also define the install targets systematically; it suffices to add
a post-action to these install targets for shared objects.

Note: currently Debian/Trixie provides SCons 4.8, but v4.10 will provide
a shorthand notation with the env.Chmod Action factory.
2025-11-24 22:03:11 +01:00
..
BuilderDoxygen.py Upgrade: Scons Doxygen Builder from 2022 2025-04-08 04:17:57 +02:00
Buildhelper.py clean-up: trifles 2025-06-07 23:59:57 +02:00
DIR_INFO Anchor: Directory for Scons tools 2025-04-08 04:10:02 +02:00
IconSvgRenderer.py clean-up: trifles 2025-06-07 23:59:57 +02:00
LumieraEnvironment.py Build: ensure that installed shared libs are not executable 2025-11-24 22:03:11 +01:00
Options.py Build: configuring via environment is bad practice 2025-11-16 02:09:24 +01:00
Platform.py clean-up: trifles 2025-06-07 23:59:57 +02:00
Setup.py Build: fix problem that prevented installation into absolute path 2025-11-19 22:40:08 +01:00
ToolCCache.py Upgrade: adapt to use Scons 4.x which uses Python 3 2025-03-16 16:38:07 +01:00
ToolDistCC.py Upgrade: adapt to use Scons 4.x which uses Python 3 2025-03-16 16:38:07 +01:00