pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / encumbered / xvidcore / patches / 01-solaris.patch
blob7c9e88e29e51cebbd8b2c0c42b14ce078c06b7fc
1 --- xvidcore/build/generic/configure.in.~1~ 2015-06-21 17:21:32.000000000 +0300
2 +++ xvidcore/build/generic/configure.in 2015-07-20 13:58:47.421422706 +0300
3 @@ -295,7 +295,7 @@
4 SO_API_MAJOR_LINK=""
5 SO_LINK=""
6 case "$target_os" in
7 - linux*|solaris*|gnu*|*qnx*)
8 + linux*|gnu*|*qnx*)
9 AC_MSG_RESULT([ok])
10 STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
11 SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
12 @@ -304,6 +304,15 @@
13 SPECIFIC_LDFLAGS="-Wl,-soname,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -shared -Wl,--version-script=libxvidcore.ld -lc -lm"
14 SPECIFIC_CFLAGS="-fPIC"
16 + solaris*)
17 + AC_MSG_RESULT([ok])
18 + STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
19 + SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR).\$(API_MINOR)"
20 + # because nasm don't produce pic code. And symbol 'main' is added and undefined.
21 + #SPECIFIC_LDFLAGS="-Wl,-h,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -Wl,-G -Wl,-M,libxvidcore.ld -lc -lm"
22 + SPECIFIC_LDFLAGS="-Wl,-h,libxvidcore.\$(SHARED_EXTENSION).\$(API_MAJOR) -Wl,-G -Wl,-M,libxvidcore.ld -lc -lm -shared -mimpure-text"
23 + SPECIFIC_CFLAGS="-fPIC"
24 + ;;
25 *bsd*|irix*)
26 AC_MSG_RESULT([ok])
27 STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"