Hi! Attached patch fixes running fate with "--enable-shared --enable-gpl" on Solaris, the linker searches "libpostproc" in a directory"-link=libpostproc". Only tested on Solaris.
Please comment, Carl Eugen
From d69f1fcee41e803e5208bbfabdeb37a19e73814b Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Sat, 22 Dec 2018 00:04:43 +0100 Subject: [PATCH] configure: Make sure libpostproc can be found if -rpath-link doesn't work. Solaris ld takes "-rpath-link=libpostproc" as indication to search in "-link=libpostproc". --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2205751..04d3417 100755 --- a/configure +++ b/configure @@ -6535,7 +6535,7 @@ EOF # add some linker flags check_ldflags -Wl,--warn-common -check_ldflags -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample +check_ldflags -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample enabled rpath && add_ldexeflags -Wl,-rpath,$libdir && add_ldsoflags -Wl,-rpath,$libdir test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel