]> git.pld-linux.org Git - packages/python-pygobject3.git/blob - link.patch
BR: cairo-gobject-devel
[packages/python-pygobject3.git] / link.patch
1 --- pygobject-3.0.0/gi/Makefile.am.wiget        2011-09-24 19:46:02.886052379 +0200
2 +++ pygobject-3.0.0/gi/Makefile.am      2011-09-24 19:46:24.461794869 +0200
3 @@ -12,13 +12,13 @@ extension_ldflags = \
4         -module \
5         -avoid-version
6  
7 +extension_libadd = \
8 +       $(PYTHON_LIBS)
9 +
10  if OS_WIN32
11  # Windows requires Python modules to be explicitly linked to libpython.
12  # Extension modules are shared libaries (.dll), but need to be
13  # called .pyd for Python to load it as an extension module.
14 -extension_libadd = \
15 -       $(PYTHON_LIBS)
16 -
17  extension_ldflags += \
18         -no-undefined \
19         -shrext ".pyd"
20 --- pygobject-3.0.0/configure.ac.wiget  2011-09-24 19:56:06.566708752 +0200
21 +++ pygobject-3.0.0/configure.ac        2011-09-24 19:56:29.259058498 +0200
22 @@ -102,9 +102,7 @@ if test $build_py3k = true ; then
23  fi
24  
25  AM_CHECK_PYTHON_HEADERS(, AC_MSG_ERROR([Python headers not found]))
26 -if test "x$os_win32" = "xyes"; then
27    AM_CHECK_PYTHON_LIBS(, AC_MSG_ERROR([Python libs not found. Windows requires Python modules to be explicitly linked to libpython.]))
28 -fi
29  
30  AC_MSG_CHECKING([for PySignal_SetWakeupFd in Python.h])
31  old_CPPFLAGS=$CPPFLAGS
32 --- pygobject-3.0.0/gi/_gobject/Makefile.am.wiget       2011-09-24 20:07:59.829604244 +0200
33 +++ pygobject-3.0.0/gi/_gobject/Makefile.am     2011-09-24 20:08:32.401508942 +0200
34 @@ -12,13 +12,13 @@ extension_ldflags = \
35         -module \
36         -avoid-version
37  
38 +extension_libadd = \
39 +       $(PYTHON_LIBS)
40 +
41  if OS_WIN32
42  # Windows requires Python modules to be explicitly linked to libpython.
43  # Extension modules are shared libaries (.dll), but need to be
44  # called .pyd for Python to load it as an extension module.
45 -extension_libadd = \
46 -       $(PYTHON_LIBS)
47 -
48  extension_ldflags += \
49         -no-undefined \
50         -shrext ".pyd"
51 --- pygobject-3.0.0/gi/_glib/Makefile.am.wiget  2011-09-24 20:07:15.244891968 +0200
52 +++ pygobject-3.0.0/gi/_glib/Makefile.am        2011-09-24 20:07:33.914073757 +0200
53 @@ -8,13 +8,13 @@ extension_ldflags = \
54         -module \
55         -avoid-version
56  
57 +extension_libadd = \
58 +       $(PYTHON_LIBS)
59 +
60  if OS_WIN32
61  # Windows requires Python modules to be explicitly linked to libpython.
62  # Extension modules are shared libaries (.dll), but need to be
63  # called .pyd for Python to load it as an extension module.
64 -extension_libadd = \
65 -       $(PYTHON_LIBS)
66 -
67  extension_ldflags += \
68         -no-undefined \
69         -shrext ".pyd"
This page took 0.065668 seconds and 3 git commands to generate.