[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gobject-introspection typelibs and shared libraries
From: |
Ludovic Courtès |
Subject: |
Re: gobject-introspection typelibs and shared libraries |
Date: |
Tue, 13 Jan 2015 21:22:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> The question is: do we want to make a 'cc' symlink to 'gcc' in the
> 'gcc' package?
So far we’ve resisted the temptation, and it’s rarely been an issue.
:-)
> From 355bae94512391434bb6c7e14e8632451654380b Mon Sep 17 00:00:00 2001
> From: Federico Beffa <address@hidden>
> Date: Tue, 13 Jan 2015 16:25:29 +0100
> Subject: [PATCH] gnu: eudev: Add pre-build phase.
>
> * gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation with
> 'gobject-introspection' 1.42.0.
[...]
> + (alist-cons-before
> + 'build 'pre-build
> + ;; The program 'g-ir-scanner' (part of the package
> + ;; 'gobject-introspection'), to generate .gir files, makes some
> + ;; library pre-processing. During that phase it looks for the C
> + ;; compiler as either 'cc' or as defined by the environment variable
> + ;; 'CC' (with code in 'giscanner/dumper.py').
> + (lambda* (#:key inputs #:allow-other-keys)
> + (let ((gcc (string-append (assoc-ref inputs "gcc") "/bin/gcc")))
> + (setenv "CC" gcc)))
I suspect this may be simplified with just:
(setenv "CC" "gcc")
Otherwise LGTM.
Thanks,
Ludo’.
- Re: gobject-introspection typelibs and shared libraries, Federico Beffa, 2015/01/13
- Re: gobject-introspection typelibs and shared libraries,
Ludovic Courtès <=
- Re: gobject-introspection typelibs and shared libraries, Federico Beffa, 2015/01/13
- Re: gobject-introspection typelibs and shared libraries, Ludovic Courtès, 2015/01/14
- Re: gobject-introspection typelibs and shared libraries, Federico Beffa, 2015/01/15
- Re: gobject-introspection typelibs and shared libraries, Ludovic Courtès, 2015/01/15
- Re: gobject-introspection typelibs and shared libraries, Federico Beffa, 2015/01/16
- Re: gobject-introspection typelibs and shared libraries, Andreas Enge, 2015/01/16