diff --git a/INSTALL.md b/INSTALL.md index c1af971..c97871d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -27,9 +27,11 @@ #### OS X Notes Using [Homebrew](http://brew.sh): ``` -brew install openal-soft freealut libconfig +brew install curl qrencode openal-soft freealut libconfig libpng brew install --HEAD https://raw.githubusercontent.com/Tox/homebrew-tox/master/Formula/libtoxcore.rb brew install libnotify +export PKG_CONFIG_PATH=/usr/local/opt/openal-soft/lib/pkgconfig +make ``` You can omit `libnotify` if you intend to build without desktop notifications enabled. diff --git a/cfg/systems/Darwin.mk b/cfg/systems/Darwin.mk index 2ddd9c5..ca83644 100644 --- a/cfg/systems/Darwin.mk +++ b/cfg/systems/Darwin.mk @@ -6,7 +6,7 @@ PKG_CONFIG_PATH = $(shell export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/o LIBS := $(filter-out ncursesw, $(LIBS)) # OS X ships a usable, recent version of ncurses, but calls it ncurses not ncursesw. -LDFLAGS += -lncurses -lalut -ltoxav -ltoxcore -lcurl -lconfig -ltoxencryptsave -g +LDFLAGS += -lncurses -lalut -ltoxcore -lcurl -lconfig -lqrencode -lpng -lopenal -g CFLAGS += -I/usr/local/opt/freealut/include/AL -I/usr/local/opt/glib/include/glib-2.0 -g OSX_LIBRARIES = -lobjc -lresolv