diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-02-08 21:19:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-02-08 21:20:13 +0000 |
commit | a29969888ac028b198b717165a904c9410dbf0ed (patch) | |
tree | e1730a15173a55882c29a339b81ffda5c7863d14 /cocoa/Makefile.defaults | |
parent | 405965d871d00c2fe679bb066290afa11e23b95b (diff) | |
download | netsurf-a29969888ac028b198b717165a904c9410dbf0ed.tar.gz netsurf-a29969888ac028b198b717165a904c9410dbf0ed.tar.bz2 |
Update compilation to cope with modern SDK locations
Diffstat (limited to 'cocoa/Makefile.defaults')
-rw-r--r-- | cocoa/Makefile.defaults | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cocoa/Makefile.defaults b/cocoa/Makefile.defaults index 17c5df92e..8f5792b0a 100644 --- a/cocoa/Makefile.defaults +++ b/cocoa/Makefile.defaults @@ -24,9 +24,7 @@ NETSURF_USE_PNG := NO NETSURF_USE_JPEG := NO NETSURF_USE_IMAGEIO := YES -DEVELOPER_PATH := /Developer -MACOSX_VERSION := 10.6 -SDK_VERSION := $(MACOSX_VERSION) +MACOSX_VERSION := $(shell sw_vers -productVersion | awk -F '.' '{print $$1 "." $$2}') # Optimisation levels CFLAGS += -O2 |