Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-2048
Commits
7e8432b2
Commit
7e8432b2
authored
Aug 08, 2017
by
Libretro-Admin
Browse files
Add code to osx target
parent
a2c85400
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
7e8432b2
...
...
@@ -73,6 +73,17 @@ else ifeq ($(platform), osx)
TARGET
:=
$(TARGET_NAME)
_libretro.
$(EXT)
fpic
:=
-fPIC
SHARED
:=
-dynamiclib
ifeq
($(arch),ppc)
ENDIANNESS_DEFINES
+=
-DMSB_FIRST
endif
OSXVER
=
`
sw_vers
-productVersion
|
cut
-d
.
-f
2
`
OSX_LT_MAVERICKS
=
`
((
$(OSXVER)
<
=
9
))
&&
echo
"YES"
`
fpic
+=
-mmacosx-version-min
=
10.1
ifndef
($(NOUNIVERSAL))
CFLAGS
+=
$(ARCHFLAGS)
LDFLAGS
+=
$(ARCHFLAGS)
endif
# iOS
else
ifneq
(,$(findstring ios,$(platform)))
EXT
?=
dylib
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment