aboutsummaryrefslogtreecommitdiff
path: root/ports.mk
diff options
context:
space:
mode:
authorCameron Cawley2017-10-01 19:26:11 +0100
committerThierry Crozat2017-10-02 20:11:04 +0100
commit5a11f90ccd8b4329807ff6d91523a9650803fa91 (patch)
tree4de5be4455cce105c61bd0b2f00f52e52788599f /ports.mk
parenta51fb1f3b6fdc5bbb45925eb134833abd87dbba7 (diff)
downloadscummvm-rg350-5a11f90ccd8b4329807ff6d91523a9650803fa91.tar.gz
scummvm-rg350-5a11f90ccd8b4329807ff6d91523a9650803fa91.tar.bz2
scummvm-rg350-5a11f90ccd8b4329807ff6d91523a9650803fa91.zip
CONFIGURE: Add proper detection for libogg
Diffstat (limited to 'ports.mk')
-rw-r--r--ports.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/ports.mk b/ports.mk
index 3511002b28..617b4e995f 100644
--- a/ports.mk
+++ b/ports.mk
@@ -302,11 +302,14 @@ ifdef USE_FREETYPE2
OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libfreetype.a $(STATICLIBPATH)/lib/libbz2.a
endif
+ifdef USE_OGG
+OSX_STATIC_LIBS += $(STATICLIBPATH)/lib/libogg.a
+endif
+
ifdef USE_VORBIS
OSX_STATIC_LIBS += \
$(STATICLIBPATH)/lib/libvorbisfile.a \
- $(STATICLIBPATH)/lib/libvorbis.a \
- $(STATICLIBPATH)/lib/libogg.a
+ $(STATICLIBPATH)/lib/libvorbis.a
endif
ifdef USE_TREMOR