mirror of
https://github.com/webmproject/libwebp.git
synced 2025-08-10 18:10:57 +02:00
Merge "makefile.unix: use uname to detect OSX environment"
This commit is contained in:
@ -14,7 +14,7 @@
|
|||||||
# follow below install instructions or just comment out the next lines.
|
# follow below install instructions or just comment out the next lines.
|
||||||
EXTRA_FLAGS= -DWEBP_HAVE_PNG -DWEBP_HAVE_JPEG
|
EXTRA_FLAGS= -DWEBP_HAVE_PNG -DWEBP_HAVE_JPEG
|
||||||
EXTRA_LIBS= -lpng -ljpeg -lz
|
EXTRA_LIBS= -lpng -ljpeg -lz
|
||||||
ifeq ("$(HOSTTYPE)", "intel-mac")
|
ifeq ($(strip $(shell uname)), Darwin)
|
||||||
EXTRA_FLAGS += -I/opt/local/include
|
EXTRA_FLAGS += -I/opt/local/include
|
||||||
EXTRA_LIBS += -L/opt/local/lib
|
EXTRA_LIBS += -L/opt/local/lib
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user