You've already forked MINGW-packages
mirror of
https://github.com/encounter/MINGW-packages.git
synced 2026-03-30 11:29:58 -07:00
f1765d4158
* gstreamer: add git packages * gstreamer: whitespace cleanup to make consistent with git packages
44 lines
1.7 KiB
Diff
44 lines
1.7 KiB
Diff
From 835e75d3e98a2860ffec1ffb4e4969a90efdee66 Mon Sep 17 00:00:00 2001
|
|
From: Lubosz Sarnecki <lubosz@gmail.com>
|
|
Date: Thu, 31 Jul 2014 12:32:21 +0200
|
|
Subject: [PATCH 2/2] msys2: fix linking errors
|
|
|
|
* add python lib manually
|
|
* fix libtool error: add no-undefined flag
|
|
* add glib libs
|
|
* add gmodule library manually
|
|
---
|
|
gi/overrides/Makefile.am | 4 ++--
|
|
plugin/Makefile.am | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/gi/overrides/Makefile.am b/gi/overrides/Makefile.am
|
|
index ee94f7c..4f04707 100644
|
|
--- a/gi/overrides/Makefile.am
|
|
+++ b/gi/overrides/Makefile.am
|
|
@@ -1,6 +1,6 @@
|
|
common_cflags = $(PYGOBJECT_CFLAGS) $(GST_CFLAGS) -fno-strict-aliasing
|
|
-common_libadd = $(GST_LIBS) $(PYGOBJECT_LIBS)
|
|
-common_ldflags = -module -avoid-version -shrext $(PYTHON_SO)
|
|
+common_libadd = $(PYTHON_LIBS) $(GST_LIBS) $(PYGOBJECT_LIBS)
|
|
+common_ldflags = -module -avoid-version -no-undefined -shrext $(PYTHON_SO)
|
|
|
|
# We install everything in the gi/overrides folder
|
|
pygioverridesdir = $(PYGI_OVERRIDES_DIR)
|
|
diff --git a/plugin/Makefile.am b/plugin/Makefile.am
|
|
index 042c2bc..4a9b60d 100644
|
|
--- a/plugin/Makefile.am
|
|
+++ b/plugin/Makefile.am
|
|
@@ -8,6 +8,6 @@ INCLUDES = $(PYGOBJECT_CFLAGS) $(GST_CFLAGS)\
|
|
$(PYTHON_INCLUDES)
|
|
|
|
libgstpythonplugin_la_SOURCES = gstpythonplugin.c
|
|
-libgstpythonplugin_la_LDFLAGS = -avoid-version -shrext $(PYTHON_SO)
|
|
-libgstpythonplugin_la_LIBADD = $(PYTHON_LIBS) $(PYGOBJECT_LIBS) $(GST_LIBS)
|
|
+libgstpythonplugin_la_LDFLAGS = -avoid-version -no-undefined -shrext $(PYTHON_SO)
|
|
+libgstpythonplugin_la_LIBADD = $(PYTHON_LIBS) $(PYGOBJECT_LIBS) $(GST_LIBS) -lgmodule-2.0
|
|
libgstpythonplugin_la_CFLAGS = $(GST_CFLAGS) $(PYGOBJECT_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(PYTHON_INCLUDES)
|
|
--
|
|
2.0.4
|
|
|