[gobject-introspection] windows: Use the real python version instead of an hardcoded one
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] windows: Use the real python version instead of an hardcoded one
- Date: Sat, 3 Sep 2011 18:39:01 +0000 (UTC)
commit fa4a01bd5f4ad59fe0a646e3111a8d38ac9f047b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Sep 3 12:44:41 2011 +0200
windows: Use the real python version instead of an hardcoded one
Makefile-giscanner.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am
index 616e3b1..841089f 100644
--- a/Makefile-giscanner.am
+++ b/Makefile-giscanner.am
@@ -66,7 +66,8 @@ _giscanner_la_LDFLAGS = \
if OS_WIN32
# Yuck. Probably there is a way to get this from Python, but I don't
# know how. Use -Wl to avoid libtool crack.
-_giscanner_la_LDFLAGS += -Wl,$(pyexecdir)/../../libs/libpython25.a -no-undefined
+PYVER= `echo $(PYTHON_VERSION) | sed 's/\.//g'`
+_giscanner_la_LDFLAGS += -Wl,$(pyexecdir)/../../libs/libpython$(PYVER).a -no-undefined
endif
_giscanner_la_SOURCES = giscanner/giscannermodule.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]