diff options
author | Zack Middleton <zturtleman@gmail.com> | 2014-07-20 16:55:41 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2014-08-28 11:03:34 +0100 |
commit | c4da49d3d1d9ae4d9a428537dd0e84d511fc4b36 (patch) | |
tree | 149edc6ac081bc683f58fed0f006cf43babedc8b /Makefile | |
parent | ecbbee4fc3613922da9d6b534740cd4f864a2f54 (diff) |
Allow overriding external opus libs/cflags in Makefile
Pointed out by @MAN-AT-ARMS.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -961,8 +961,8 @@ ifeq ($(USE_CODEC_OPUS),1) -I$(OPUSDIR)/include -I$(OPUSDIR)/celt -I$(OPUSDIR)/silk \ -I$(OPUSDIR)/silk/float -I$(OPUSFILEDIR)/include else - OPUS_CFLAGS=$(shell pkg-config --silence-errors --cflags opusfile opus || true) - OPUS_LIBS=$(shell pkg-config --silence-errors --libs opusfile opus || echo -lopusfile -lopus) + OPUS_CFLAGS ?= $(shell pkg-config --silence-errors --cflags opusfile opus || true) + OPUS_LIBS ?= $(shell pkg-config --silence-errors --libs opusfile opus || echo -lopusfile -lopus) endif CLIENT_CFLAGS += $(OPUS_CFLAGS) CLIENT_LIBS += $(OPUS_LIBS) |