diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2011-09-03 12:44:41 +0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-09-03 14:38:07 -0400 |
commit | fa4a01bd5f4ad59fe0a646e3111a8d38ac9f047b (patch) | |
tree | 2a0ed3fb82edb36580cff2f4a49ad9a11fbe6be7 /Makefile-giscanner.am | |
parent | ca0699b3d5be19c482ac2ead600e0789b0ba3a76 (diff) | |
download | gobject-introspection-fa4a01bd5f4ad59fe0a646e3111a8d38ac9f047b.tar.gz |
windows: Use the real python version instead of an hardcoded one
Diffstat (limited to 'Makefile-giscanner.am')
-rw-r--r-- | Makefile-giscanner.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am index 616e3b16..841089f2 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 |