2009-01-26 18:51:52 +00:00
|
|
|
Work around Python misdetection and set `PYTHON_LIBS' to
|
|
|
|
"-L/nix/store/... -lpython2.4" instead of "/nix/store/.../libpython2.4.so".
|
|
|
|
Changed to 2.5.
|
|
|
|
|
2008-02-22 16:24:58 +00:00
|
|
|
--- inkscape-0.45.1/configure 2007-03-20 14:56:43.000000000 +0100
|
|
|
|
+++ inkscape-0.45.1/configure 2008-02-22 16:19:10.000000000 +0100
|
|
|
|
@@ -10202,7 +10202,7 @@ if test "x$with_python" = "xyes"; then
|
|
|
|
if test "$?" -gt "0"; then
|
|
|
|
with_python="no"
|
|
|
|
else
|
|
|
|
- checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '%s/%s %s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
|
2008-06-16 10:09:58 +01:00
|
|
|
+ checkPYTHON_LIBS=`python -c "import distutils.sysconfig ; print '-L%s -lpython2.5 %s' % (distutils.sysconfig.get_config_var('LIBDIR'),distutils.sysconfig.get_config_var('LIBS'))" 2>/dev/null`
|
2008-02-22 16:24:58 +00:00
|
|
|
if test "$?" -gt "0"; then
|
|
|
|
with_python="no"
|
|
|
|
else
|