summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2020-04-25 19:19:43 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-25 18:21:26 +0100
commitf9f61863444b819f571ff6054ab675e028aac897 (patch)
tree98820abe3d41abd585e4b6ef336761fbe984d042 /patches
parent3e2acf1a70c24675da4e5c74775cf4e1b7615c69 (diff)
downloadmidipix_build-f9f61863444b819f571ff6054ab675e028aac897.tar.bz2
midipix_build-f9f61863444b819f571ff6054ab675e028aac897.tar.xz
apr: properly support building shared libraries
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/apr-1.6.5_pre.local.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/apr-1.6.5_pre.local.patch b/patches/apr-1.6.5_pre.local.patch
new file mode 100644
index 00000000..ae8e6908
--- /dev/null
+++ b/patches/apr-1.6.5_pre.local.patch
@@ -0,0 +1,21 @@
+diff -ru apr-1.6.5.orig/configure apr-1.6.5/configure
+--- apr-1.6.5.orig/configure 2018-09-10 23:14:53.000000000 +0200
++++ apr-1.6.5/configure 2020-04-25 19:12:30.858759347 +0200
+@@ -17277,6 +17277,16 @@
+ dynamic_linker='GNU/Linux ld.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
+