[gimp] Bug 551444 – With Python 2.5, module extension should be .pyd
- From: Michael Schumacher <schumaml src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Bug 551444 – With Python 2.5, module extension should be .pyd
- Date: Mon, 10 Aug 2009 22:11:40 +0000 (UTC)
commit f19e60636ad7035ef3e11811cc4d52760a249369
Author: Michael Schumacher <schumaml gmx de>
Date: Tue Aug 11 00:02:37 2009 +0200
Bug 551444 â?? With Python 2.5, module extension should be .pyd
libtool >= 2.2 has a new command line option -shrext. Use this to set
the python modules' file name extension to .pyd
plug-ins/pygimp/Makefile.am | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/pygimp/Makefile.am b/plug-ins/pygimp/Makefile.am
index 1cf3f8f..59194bc 100644
--- a/plug-ins/pygimp/Makefile.am
+++ b/plug-ins/pygimp/Makefile.am
@@ -13,6 +13,7 @@ SUBDIRS = plug-ins
if PLATFORM_WIN32
no_undefined = -no-undefined
+shrext = -shrext .pyd
path_separator = ;
else
path_separator = :
@@ -43,7 +44,7 @@ gimp_la_SOURCES = \
pygimp-intl.h \
pygimp-util.h
-gimp_la_LDFLAGS = -module -avoid-version $(no_undefined) \
+gimp_la_LDFLAGS = -module -avoid-version $(no_undefined) $(shrext) \
-export-symbols-regex initgimp
gimp_la_LIBADD = \
@@ -57,7 +58,7 @@ gimp_la_LIBADD = \
_gimpenums_la_SOURCES = \
gimpenumsmodule.c
-_gimpenums_la_LDFLAGS = -module -avoid-version $(no_undefined) \
+_gimpenums_la_LDFLAGS = -module -avoid-version $(no_undefined) $(shrext) \
-export-symbols-regex init_gimpenums
_gimpenums_la_LIBADD = \
@@ -74,7 +75,7 @@ gimpcolor_la_SOURCES = \
pygimpcolor.h \
pygimpcolor-api.h
-gimpcolor_la_LDFLAGS = -module -avoid-version $(no_undefined) \
+gimpcolor_la_LDFLAGS = -module -avoid-version $(no_undefined) $(shrext) \
-export-symbols-regex initgimpcolor
gimpcolor_la_LIBADD = \
@@ -86,7 +87,7 @@ _gimpui_la_SOURCES = \
gimpuimodule.c \
gimpui.c
-_gimpui_la_LDFLAGS = -module -avoid-version $(no_undefined) \
+_gimpui_la_LDFLAGS = -module -avoid-version $(no_undefined) $(shrext) \
-export-symbols-regex init_gimpui
_gimpui_la_LIBADD = \
@@ -106,7 +107,7 @@ gimpthumb_la_SOURCES = \
gimpthumbmodule.c \
gimpthumb.c
-gimpthumb_la_LDFLAGS = -module -avoid-version $(no_undefined) \
+gimpthumb_la_LDFLAGS = -module -avoid-version $(no_undefined) $(shrext) \
-export-symbols-regex initgimpthumb
gimpthumb_la_LIBADD = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]