summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-04-11 16:01:59 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-11 18:34:38 +0100
commitf6ff4c35f217f4001d1270369d304b376ac3415d (patch)
tree45584bd60b8ac57b3244ac522a1353a01e55208b
parentcd19ae7dca18e32c232b92d09da6680da0ef4ff6 (diff)
downloadmidipix_build-f6ff4c35f217f4001d1270369d304b376ac3415d.tar.bz2
midipix_build-f6ff4c35f217f4001d1270369d304b376ac3415d.tar.xz
libarchive: enable shared libraries
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
-rw-r--r--patches/libarchive-3.4.2_pre.local.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/libarchive-3.4.2_pre.local.patch b/patches/libarchive-3.4.2_pre.local.patch
new file mode 100644
index 00000000..00141a21
--- /dev/null
+++ b/patches/libarchive-3.4.2_pre.local.patch
@@ -0,0 +1,20 @@
+diff -ru libarchive-3.4.2.orig/configure libarchive-3.4.2/configure
+--- libarchive-3.4.2.orig/configure 2020-02-11 23:58:01.000000000 +0100
++++ libarchive-3.4.2/configure 2020-04-11 15:58:45.493648584 +0200
+@@ -12062,6 +12062,16 @@
+ dynamic_linker='NetBSD ld.elf_so'
+ ;;
+
++midipix*)
++ version_type=linux # correct to gnu/linux during the next big refactor
++ need_lib_prefix=no
++ need_version=no
++ library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++ soname_spec='$libname$release$shared_ext$major'
++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
++ shlibpath_var=LD_LIBRARY_PATH
++ ;;
++
+ netbsd*)
+ version_type=sunos
+ need_lib_prefix=no