Under Mac OS X, look for libvpx in /usr/local to add support for Homebrew in addition to MacPorts.

git-svn-id: https://svn.eduke32.com/eduke32@2401 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2012-03-04 09:32:57 +00:00
parent 0d4e066e12
commit d1a780bd40

View file

@ -63,9 +63,9 @@ ifneq (0,$(USE_LIBVPX))
OURCFLAGS+= -IWindows/include
endif
ifeq ($(PLATFORM),DARWIN)
# vpx headers and lib from 'port install libvpx'
LIBS+= -L/opt/local/lib
OURCFLAGS+= -I/opt/local/include
# vpx headers and lib from 'port install libvpx' or 'brew install libvpx'
LIBS+= -L/opt/local/lib -L/usr/local/lib
OURCFLAGS+= -I/opt/local/include -I/usr/local/include
endif
endif