[geany/geany-plugins] d8d8f7: Set PYEXT lib settings in case they were not set automatically
Enrico Tröger
git-noreply at xxxxx
Sun Oct 13 15:07:30 UTC 2013
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 13 Oct 2013 15:07:30 UTC
Commit: d8d8f768d7b698693d232a8223bd122c4605d227
https://github.com/geany/geany-plugins/commit/d8d8f768d7b698693d232a8223bd122c4605d227
Log Message:
-----------
Set PYEXT lib settings in case they were not set automatically
Waf determines whether to set those by evaluating get_config_var("Py_ENABLE_SHARED") == 1.
But for some reasons, on Debian systems (Debian Stable and before), this returns 0 while
it should return 1. Hence the manual defintion, hoping it won't break more than it fixes.
Modified Paths:
--------------
geanypy/wscript_configure
Modified: geanypy/wscript_configure
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -61,6 +61,11 @@ else:
add_to_env_and_define(conf, 'GEANYPY_PYTHON_LIBRARY', dso_path, quote=True)
conf.end_msg(dso_path)
+# work around for Debian Python bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695979)
+if not 'LIB_PYEXT' in conf.env:
+ conf.env['LIBPATH_PYEXT'] = conf.env['LIBPATH_PYEMBED']
+ conf.env['LIB_PYEXT'] = conf.env['LIB_PYEMBED']
+
# dirs
is_win32 = target_is_win32(conf)
if is_win32:
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list