commit 7501c4cfc5672b3c6ba5372d6b827fc187f59eac
Author: Jakub Bogusz <[email protected]>
Date: Sun Nov 26 09:21:35 2023 +0100
- added link patch (link python modules with new libplist instead of old by
moving python -L flags after libplist.la)
libplist-link.patch | 13 +++++++++++++
libplist.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/libplist.spec b/libplist.spec
index c1ed960..e56ae1c 100644
--- a/libplist.spec
+++ b/libplist.spec
@@ -18,6 +18,7 @@ Group: Libraries
Source0:
https://github.com/libimobiledevice/libplist/releases/download/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: d6e2b9f713f18ae0a0f3353c03315bfd
Patch0: %{name}-sh.patch
+Patch1: %{name}-link.patch
URL: https://libimobiledevice.org/
BuildRequires: autoconf >= 2.68
BuildRequires: automake
@@ -148,6 +149,7 @@ Plik nagłówkowy Cythona dla wiązania Pythona do biblioteki
libplist.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
touch cython/*.py[xh]
diff --git a/libplist-link.patch b/libplist-link.patch
new file mode 100644
index 0000000..fd8d1b0
--- /dev/null
+++ b/libplist-link.patch
@@ -0,0 +1,13 @@
+--- libplist-2.3.0/cython/Makefile.am.orig 2022-02-07 12:20:41.000000000
+0100
++++ libplist-2.3.0/cython/Makefile.am 2023-11-26 09:11:13.719041230 +0100
+@@ -39,8 +39,8 @@ plist_la_CFLAGS = \
+ -Wno-implicit-function-declaration \
+ -fvisibility=default
+
+-plist_la_LDFLAGS = -module -avoid-version $(PYTHON_LIBS) $(AM_LDFLAGS)
-shared -export-dynamic
+-plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la
++plist_la_LDFLAGS = -module -avoid-version $(AM_LDFLAGS) -shared
-export-dynamic
++plist_la_LIBADD = $(top_builddir)/src/libplist-2.0.la $(PYTHON_LIBS)
+
+ if WIN32
+ plist_la_LDFLAGS += -no-undefined
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libplist.git/commitdiff/7501c4cfc5672b3c6ba5372d6b827fc187f59eac
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit