mirror of
https://github.com/utmapp/qemu.git
synced 2026-05-26 13:51:06 +00:00
build: use -dynamiclib instead of -bundle for OSX
For building QEMU as a shared lib, it must be loaded as a dylib. This breaks compatibility with OSX < 10.4.
This commit is contained in:
@@ -861,7 +861,7 @@ Darwin)
|
||||
hax="yes"
|
||||
hvf="yes"
|
||||
DSOSUF=".dylib"
|
||||
LDFLAGS_SHARED="-bundle -undefined dynamic_lookup"
|
||||
LDFLAGS_SHARED="-dynamiclib -undefined dynamic_lookup"
|
||||
if [ "$cpu" = "x86_64" ] ; then
|
||||
QEMU_CFLAGS="-arch x86_64 $QEMU_CFLAGS"
|
||||
LDFLAGS="-arch x86_64 $LDFLAGS"
|
||||
|
||||
Reference in New Issue
Block a user