qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] aa0d1f: modules: do not include gmodule-2.0 i


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] aa0d1f: modules: do not include gmodule-2.0 in static buil...
Date: Tue, 25 Feb 2014 11:00:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aa0d1f448871314bfc535da97eb003fe7766d4c2
      
https://github.com/qemu/qemu/commit/aa0d1f448871314bfc535da97eb003fe7766d4c2
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-02-25 (Tue, 25 Feb 2014)

  Changed paths:
    M configure
    M util/module.c

  Log Message:
  -----------
  modules: do not include gmodule-2.0 in static builds

gmodule-2.0's pkg-config files include -Wl,--export-dynamic, which breaks
static builds.  It is a glib bug, but we need to support --static builds for
the linux-user targets, and in the end all that is needed to fix this is:

* outlaw --enable-modules --static, which makes little sense anyway

* only include gmodule-2.0's cflags and ldflags if --enable-modules is
specified on the command line.

Reported-by: Peter Maydell <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>



reply via email to

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