summaryrefslogtreecommitdiff
path: root/system/xz/dont-use-libdir-for-pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/xz/dont-use-libdir-for-pkgconfig.patch')
-rw-r--r--system/xz/dont-use-libdir-for-pkgconfig.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/xz/dont-use-libdir-for-pkgconfig.patch b/system/xz/dont-use-libdir-for-pkgconfig.patch
new file mode 100644
index 000000000..dbf4d5927
--- /dev/null
+++ b/system/xz/dont-use-libdir-for-pkgconfig.patch
@@ -0,0 +1,22 @@
+--- xz-5.2.4/src/liblzma/Makefile.am.old 2018-04-29 15:16:04.000000000 +0000
++++ xz-5.2.4/src/liblzma/Makefile.am 2018-07-19 02:18:19.010000000 +0000
+@@ -97,7 +97,7 @@
+
+
+ ## pkg-config
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = /usr/lib/pkgconfig
+ pkgconfig_DATA = liblzma.pc
+ EXTRA_DIST += liblzma.pc.in
+
+--- xz-5.2.4/src/liblzma/Makefile.in.old 2018-04-29 16:01:26.000000000 +0000
++++ xz-5.2.4/src/liblzma/Makefile.in 2018-07-19 02:18:33.600000000 +0000
+@@ -752,7 +752,7 @@
+
+ liblzma_la_LDFLAGS = -no-undefined -version-info 7:4:2 $(am__append_1) \
+ $(am__append_42)
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = /usr/lib/pkgconfig
+ pkgconfig_DATA = liblzma.pc
+ pc_verbose = $(pc_verbose_@AM_V@)
+ pc_verbose_ = $(pc_verbose_@AM_DEFAULT_V@)