package/qemu: fix static build

Fix the following static build failure raised since bump to version 6.1
in commit 33c69c02fb and
ba4dd2aabc
(which enabled plugins by default):

Library dl found: YES
Checking for function "dlopen" with dependency -ldl: NO

../meson.build:460:4: ERROR: Problem encountered: dlopen not found

Fixes:
 - http://autobuild.buildroot.org/results/df447bd963e62e06b28d7230da744616ae55b194

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2021-10-22 08:39:25 +02:00 committed by Peter Korsgaard
parent 2c916b400b
commit 3376a20b2d

View File

@ -167,6 +167,10 @@ else
QEMU_OPTS += --disable-usb-redir
endif
ifeq ($(BR2_STATIC_LIBS),y)
QEMU_OPTS += --static
endif
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define QEMU_CONFIGURE_CMDS