From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: ffmpeg: Augment rpath of libraries. Date: Fri, 16 Jan 2015 21:36:07 +0100 Message-ID: <87twzqjweg.fsf@gnu.org> References: <1421418379-27494-1-git-send-email-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCDcr-00024R-KN for guix-devel@gnu.org; Fri, 16 Jan 2015 15:36:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCDcn-0006uy-LB for guix-devel@gnu.org; Fri, 16 Jan 2015 15:36:13 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:42554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCDcn-0006ur-DU for guix-devel@gnu.org; Fri, 16 Jan 2015 15:36:09 -0500 In-Reply-To: <1421418379-27494-1-git-send-email-iyzsong@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Fri, 16 Jan 2015 22:26:19 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > * gnu/packages/video.scm (ffmpeg)[arguments][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 librari= es. > (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 =E2=80=9Cso=E2=80=9D. OK to push. Thanks, Ludo=E2=80=99.