mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-20 07:46:45 +02:00
Merge "makefile.unix: use uname to detect OSX environment"
This commit is contained in:
commit
7643a6f2ef
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user