[pitivi] coptimisations: Properly link against python3
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] coptimisations: Properly link against python3
- Date: Wed, 23 Sep 2015 08:16:16 +0000 (UTC)
commit c6f84b192b2a79012361cd33ea5dd395db19ff3d
Author: Thibault Saunier <tsaunier gnome org>
Date: Mon Sep 21 17:20:53 2015 +0200
coptimisations: Properly link against python3
configure.ac | 1 +
pitivi/coptimizations/Makefile.am | 6 ++----
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c2f719f..6d5bccc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,6 +107,7 @@ AS_IF([test "x$HAVE_GSTREAMER" = xno],
PKG_CHECK_MODULES([cairo], [cairo])
PKG_CHECK_MODULES([py3cairo], [py3cairo])
+PKG_CHECK_MODULES([python3], [python3])
AC_ARG_ENABLE(help,
AS_HELP_STRING([--disable-help],[disable help]),
diff --git a/pitivi/coptimizations/Makefile.am b/pitivi/coptimizations/Makefile.am
index e11a801..494f29b 100644
--- a/pitivi/coptimizations/Makefile.am
+++ b/pitivi/coptimizations/Makefile.am
@@ -2,7 +2,5 @@ pyexec_LTLIBRARIES = renderer.la
renderer_la_SOURCES = renderer.c
pyexecdir = $(libdir)/pitivi/python/pitivi/timeline/
-AM_CFLAGS = $(cairo_CFLAGS) $(py3cairo_CFLAGS)
-LIBS = $(cairo_LIBS) $(py3cairo_LIBS)
-renderer_la_CFLAGS = $(PYTHON_CFLAGS) $(AM_CFLAGS)
-renderer_la_LDFLAGS = -module -avoid-version $(LIBS)
+renderer_la_CFLAGS = $(cairo_CFLAGS) $(py3cairo_CFLAGS) $(python3_CFLAGS)
+renderer_la_LDFLAGS = -module -avoid-version $(LIBS) $(cairo_LIBS) $(py3cairo_LIBS) $(python3_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]