[FFmpeg-devel] [PATCH] configure: disable direct stripping in OpenBSD

James Almer jamrial at gmail.com
Sun Apr 8 00:58:22 EEST 2018


It appears strip -o creates new files without preserving permissions
from the source binary, resulting in non executable files.

Signed-off-by: James Almer <jamrial at gmail.com>
---
Untested. This is purely based on what i see in http://fate.ffmpeg.org/

Alternatively, although probably much harder to do, would be to make
FATE run the fftools from the install folder rather than the build
folder, which is what it's apparently doing right now. But that also
only solves the issue for test/fate.sh and not for the resulting non
execurable binary in the build folder.

 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 08d6fc5983..47eda6ca21 100755
--- a/configure
+++ b/configure
@@ -5045,6 +5045,7 @@ case $target_os in
         ;;
     openbsd|bitrig)
         disable symver
+        striptype=""
         SHFLAGS='-shared'
         SLIB_INSTALL_NAME='$(SLIBNAME).$(LIBMAJOR).$(LIBMINOR)'
         SLIB_INSTALL_LINKS=
-- 
2.16.2



More information about the ffmpeg-devel mailing list