Received: from eggs.gnu.org ([2001:4830:134:3::10]:39085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0YcO-0002K3-R7 for qemu-devel@nongnu.org; Wed, 11 May 2016 14:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0YcK-0007nE-Ga for qemu-devel@nongnu.org; Wed, 11 May 2016 14:12:19 -0400 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]:33968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0YcK-0007n3-9r for qemu-devel@nongnu.org; Wed, 11 May 2016 14:12:16 -0400 Received: by mail-pa0-x244.google.com with SMTP id yl2so4103207pac.1 for ; Wed, 11 May 2016 11:12:16 -0700 (PDT) From: Sam McKelvie Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 11 May 2016 11:12:11 -0700 Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [Qemu-devel] Statically Compiling including SDL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org I am having this same problem. Looking at the configure script it looks = like it prefers to use: pkg-config sdl =E2=80=94static to get the static linker flags, rather than: sdl-config =E2=80=94static-libs The former returns an empty string; the latter returns the correct = library list. If it had used the latter it would work properly. There is a note in the configure effect suggesting that pig-config is preferred, = but I=E2=80=99m not sure why that is=E2=80=A6 =20