nixpkgs/pkgs
Tuomas Tynkkynen c0aada1e1f rpm: Hack fix finding libpython when compiling for Python 3
Currently, building RPM with `python = python3` causes this:

checking for a Python interpreter with version >= 2.6... python3
checking for python3... /nix/store/dykqxnrwiz9drlcv2wy8lpvl3xvklx0g-python3-3.4.3/bin/python3
checking for python3 version... 3.4
checking for Python.h... yes
checking for library containing Py_Main... no
configure: error: missing python library

That comes from this snippet in configure.ac:
    AC_SEARCH_LIBS([Py_Main],[python${PYTHON_VERSION} python],[
      WITH_PYTHON_LIB="$ac_res"
    ],[AC_MSG_ERROR([missing python library])
    ])

So it's looking for (e.g) `libpython3.4.so` wheras we have `libpython3.4m.so`.
Patching the configure script to match seems to make that work (although
I don't really understand what the heck is this 'm' business about).
2015-12-28 02:16:23 +02:00
..
applications handbrake: fix compilation due to missing dep 2015-12-08 17:30:25 +01:00
build-support melpaBuild: add unpackCmd for single-file packages 2015-12-06 11:50:10 -06:00
data man-pages-posix: correct meta.homepage 2015-12-06 23:44:13 +01:00
desktops gpaste: 3.16.3 → 3.18.2 2015-12-04 20:39:19 +01:00
development Merge pull request #11544 from NeQuissimus/kotlin-3595 2015-12-08 15:27:19 +03:00
games nethack: fix the last-minute fix 2015-12-08 18:10:53 +03:00
misc wine unstable: 1.8-rc2 -> 1.8-rc3 2015-12-07 22:22:56 +01:00
os-specific linux-testing: 4.4.0-rc3 -> 4.4.0-rc4 2015-12-08 03:51:34 +01:00
servers cassandra 2.1.11 -> 2.1.12 2015-12-08 03:04:31 +01:00
shells zsh: 5.1.1 -> 5.2 2015-12-05 17:07:41 +01:00
stdenv Merge recent staging built on Hydra 2015-12-05 11:11:51 +01:00
test
tools rpm: Hack fix finding libpython when compiling for Python 3 2015-12-28 02:16:23 +02:00
top-level Merge pull request #11547 from sigma/corkscrew 2015-12-08 17:47:46 +01:00