fix build on <11.1
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt/python-sip?expand=0&rev=20
This commit is contained in:
parent
9b145a4e47
commit
34a67819a8
11
fix-linking25.diff
Normal file
11
fix-linking25.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- specs/linux-g++ 2009/08/31 11:59:37 1.1
|
||||
+++ specs/linux-g++ 2009/08/31 12:00:19
|
||||
@@ -53,7 +53,7 @@
|
||||
QMAKE_LFLAGS =
|
||||
QMAKE_LFLAGS_RELEASE =
|
||||
QMAKE_LFLAGS_DEBUG =
|
||||
-QMAKE_LFLAGS_SHLIB = -shared
|
||||
+QMAKE_LFLAGS_SHLIB = -shared -lpython2.5
|
||||
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
||||
QMAKE_LFLAGS_SONAME = -Wl,-soname,
|
||||
QMAKE_LFLAGS_THREAD =
|
@ -32,6 +32,7 @@ Source0: sip-%{rversion}.tar.bz2
|
||||
Patch0: disable-rpaths.diff
|
||||
Patch1: fix-unresolved-external-types.diff
|
||||
Patch2: fix-linking.diff
|
||||
Patch3: fix-linking25.diff
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
@ -72,7 +73,11 @@ Authors:
|
||||
%setup -q -n sip-%{rversion}
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
%if %suse_version >1100
|
||||
%patch2
|
||||
%else
|
||||
%patch3
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user