mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 06:38:15 +00:00
build MacOS binaries in universal format. based on suggestion of @ThomasKing2014 at issue #482
This commit is contained in:
parent
7af728bb0c
commit
eea0b2d520
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -105,8 +105,10 @@ ifeq ($(IS_APPLE),1)
|
|||
EXT = dylib
|
||||
VERSION_EXT = $(API_MAJOR).$(EXT)
|
||||
$(LIBNAME)_LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR)
|
||||
$(LIBNAME)_LDFLAGS += -m32 -arch i386 -m64 -arch x86_64
|
||||
AR_EXT = a
|
||||
UNICORN_CFLAGS += -fvisibility=hidden
|
||||
UNICORN_CFLAGS += -m32 -arch i386 -m64 -arch x86_64
|
||||
else
|
||||
# Cygwin?
|
||||
IS_CYGWIN := $(shell $(CC) -dumpmachine | grep -i cygwin | wc -l)
|
||||
|
|
Loading…
Reference in a new issue