makefile.unix: use uname to detect OSX environment
HOSTTYPE is x86_64 on e.g., bash 3.2.48(1)-release ProductName: Mac OS X ProductVersion: 10.6.7 BuildVersion: 10J869 intel-mac seems to be the value under tcsh. Change-Id: I814ad6d3b733933057cea605917b185ff6d423d0
This commit is contained in:
parent
13ed94b8ad
commit
14d5731c7e
@ -14,7 +14,7 @@
|
||||
# follow below install instructions or just comment out the next lines.
|
||||
EXTRA_FLAGS= -DWEBP_HAVE_PNG -DWEBP_HAVE_JPEG
|
||||
EXTRA_LIBS= -lpng -ljpeg -lz
|
||||
ifeq ("$(HOSTTYPE)", "intel-mac")
|
||||
ifeq ($(strip $(shell uname)), Darwin)
|
||||
EXTRA_FLAGS += -I/opt/local/include
|
||||
EXTRA_LIBS += -L/opt/local/lib
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user