guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: ffmpeg: Augment rpath of libraries.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: ffmpeg: Augment rpath of libraries.
Date: Fri, 16 Jan 2015 21:36:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

宋文武 <address@hidden> skribis:

> * gnu/packages/video.scm (ffmpeg)[arguments]<phases>[add-lib-to-run-path]:
>   Add $out/lib to the RUNPATH of libraries.

[...]

> -            ;; Add LIB to the RUNPATH of all the executables.
> +            ;; Add LIB to the RUNPATH of all the executables and libraries.
>              (with-directory-excursion out
>                (for-each (cut augment-rpath <> lib)
> -                        (find-files "bin" ".*")))))
> +                        (append (find-files "bin" ".*")
> +                                (find-files "lib" "so\\..*\\."))))))

You can even add a literal dot before “so”.

OK to push.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]