banan-os/ports/libvorbis/patches/0001-add-shared-library-sup...

42 lines
1.1 KiB
Diff

diff -ruN libvorbis-1.3.7/configure libvorbis-1.3.7-banan_os/configure
--- libvorbis-1.3.7/configure 2020-07-04 09:20:13.000000000 +0300
+++ libvorbis-1.3.7-banan_os/configure 2025-10-31 22:34:50.365978022 +0200
@@ -5772,6 +5772,10 @@
lt_cv_deplibs_check_method=pass_all
;;
+banan_os*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
beos*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -8886,6 +8890,9 @@
fi
;;
+ banan_os*)
+ ;;
+
darwin* | rhapsody*)
# PIC is the default on this platform
# Common symbols not allowed in MH_DYLIB files
@@ -11082,6 +11089,16 @@
esac
;;
+banan_os*)
+ 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'
+ dynamic_linker="$host_os DynamicLoader.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
beos*)
library_names_spec='$libname$shared_ext'
dynamic_linker="$host_os ld.so"