]> git.rm.cloudns.org Git - xonotic/netradiant.git/commit
radiant: build netradiant as non-PIE binary on Linux to workaround a mime-type bug
authorThomas Debesse <dev@illwieckz.net>
Sun, 7 Mar 2021 05:33:31 +0000 (06:33 +0100)
committerThomas Debesse <dev@illwieckz.net>
Sun, 7 Mar 2021 09:13:02 +0000 (10:13 +0100)
commitdf994c006d443a8b40386da209a2aaed5b1b5c1f
treea130c54a94e91ec571858b50fa409df0e622360a
parent03ab09a97aec61abf547fb0c90251e12afb5f048
radiant: build netradiant as non-PIE binary on Linux to workaround a mime-type bug

PIE executables were wrongly recognized as shared libraries on Linux
because of a mistake in the mime-type library.
Because of that it was not possible to launch such executables from
the file browser.

While the problem is fixed upstream, most distributions still ship
with a faulty mime-type library and may do for a long time.

See: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
radiant/CMakeLists.txt