guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: libffi: Symlink header files instead of moving them int


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: libffi: Symlink header files instead of moving them into {$prefix}/include to make them consistent with installed pkg-config file.
Date: Mon, 27 Jan 2014 15:32:16 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Sree Harsha Totakura <address@hidden> skribis:

> --- a/gnu/packages/libffi.scm
> +++ b/gnu/packages/libffi.scm
> @@ -32,8 +32,10 @@
>              (with-directory-excursion
>                  (string-append out "/lib/libffi-3.0.13/include")
>                (for-each (lambda (h)
> -                          (format #t "moving `~a' to includedir~%" h)
> -                          (rename-file h (string-append out "/include/" h)))
> +                          (format #t "Linking `~a' to includedir~%" h)
> +                          (symlink
> +                           (string-append out "/lib/libffi-3.0.13/include/" 
> h)
> +                           (string-append out "/include/" h)))
>                          (scandir "."
>                                   (lambda (x)
>                                     (not (member x '("." ".."))))))))))

I pushed a slightly different version in ‘core-updates’, thanks!

Ludo’.



reply via email to

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