Sree Harsha Totakura <sreehar...@totakura.in> 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