[Top][All Lists]

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

[bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation.

From: Mathieu Othacehe
Subject: [bug#36477] [PATCH 27/31] gnu: pkg-config: Fix cross-compilation.
Date: Thu, 25 Jul 2019 17:27:50 +0200
User-agent: mu4e 1.2.0; emacs 26.2

> Are these indicative of a problem in our cross stack, or a bug in the
> pkg-config build system/code?
> LGTM anyway.

No those bits seems to be needed because of a problem in pkg-config
itself. See this nixpkg pkg-config package snippet:

--8<---------------cut here---------------start------------->8---
  configureFlags = [ "--with-internal-glib" ]
    ++ optional (stdenv.isSunOS) [ "--with-libiconv=gnu" 
"--with-system-library-path" "--with-system-include-path" "CFLAGS=-DENABLE_NLS" 
       # Can't run these tests while cross-compiling
    ++ optional (stdenv.hostPlatform != stdenv.buildPlatform)
       [ "glib_cv_stack_grows=no"
--8<---------------cut here---------------end--------------->8---


reply via email to

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