Merge pull request #177290 from trofi/workaround-fno-common-for-gnome.nautilus-python
gnome.nautilus-python: add -fcommon workaround
This commit is contained in:
commit
cf1ec58e20
|
@ -51,6 +51,13 @@ stdenv.mkDerivation rec {
|
||||||
gtk3 # required by libnautilus-extension
|
gtk3 # required by libnautilus-extension
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Workaround build failure on -fno-common toolchains:
|
||||||
|
# ld: nautilus-python-object.o:src/nautilus-python.h:61: multiple definition of
|
||||||
|
# `_PyNautilusMenu_Type'; nautilus-python.o:src/nautilus-python.h:61: first defined here
|
||||||
|
# TODO: remove it once upstream fixes and releases:
|
||||||
|
# https://gitlab.gnome.org/GNOME/nautilus-python/-/merge_requests/7
|
||||||
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PYTHON_LIB_LOC=${python3}/lib"
|
"PYTHON_LIB_LOC=${python3}/lib"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue