nixpkgs-suyu/pkgs/development/python-modules/py3exiv2/setup.patch
Maximilian Bosch 50f23da8e6
python3Packages.py3exiv2: fix build
Recent boost versions name their `python3` shared objects
`boost_python3x` rather than `boost_python3`.

See https://hydra.nixos.org/build/80712295
Addresses #45960
2018-09-24 14:32:50 +02:00

11 lines
315 B
Diff

--- a/setup.py 2017-10-16 22:03:02.000000000 +0200
+++ b/setup.py 2017-10-16 22:03:34.000000000 +0200
@@ -39,7 +39,7 @@
if '3' in l[2:]:
return l.replace('libboost', 'boost')
-libboost = get_libboost_name()
+libboost = 'boost_python@version@'
setup(
name='py3exiv2',