[pygio] gio/Makefile.am: replace lpyglib-2.0-python with lpyglib-2 0- PYTHON_BASENAME@
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygio] gio/Makefile.am: replace lpyglib-2.0-python with lpyglib-2 0- PYTHON_BASENAME@
- Date: Sun, 6 Feb 2011 20:47:14 +0000 (UTC)
commit 5f8ce6f9b0dab8798ac6980f9c85d1f466acb970
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Fri Feb 4 14:47:44 2011 +0100
gio/Makefile.am: replace lpyglib-2.0-python with lpyglib-2 0- PYTHON_BASENAME@
configure.ac | 2 ++
gio/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 66ac9dd..c9afb79 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,8 @@ AM_PATH_GLIB_2_0(glib_required_version,,[AC_MSG_ERROR(gobject is required to bui
if test -n "$export_dynamic"; then
GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
fi
+PYTHON_BASENAME=`basename $PYTHON`
+AC_SUBST([PYTHON_BASENAME])
dnl pygobject
PKG_CHECK_MODULES(PYGOBJECT, [pygobject-2.0 >= pygobject_required_version])
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 7160ecf..b4997ba 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -68,7 +68,7 @@ EXTRA_DIST += $(GIO_DEFS) $(GIO_OVERRIDES)
gio.c: $(GIO_DEFS) $(GIO_OVERRIDES)
_gio_la_CFLAGS = $(GIO_CFLAGS)
_gio_la_LDFLAGS = $(common_ldflags) -export-symbols-regex init_gio
-_gio_la_LIBADD = $(GIO_LIBS) -lpyglib-2.0-python
+_gio_la_LIBADD = $(GIO_LIBS) -lpyglib-2 0- PYTHON_BASENAME@
_gio_la_SOURCES = \
giomodule.c \
pygio-utils.c \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]