Skip to content

Commit

Permalink
Fixed|OS X|qmake: Library directory for libintl
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 7, 2013
1 parent 84312e9 commit ba87e9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doomsday/dep_glib.pri
Expand Up @@ -4,6 +4,12 @@ unix {
!system(pkg-config --exists gthread-2.0) {
error(Missing dependency: FluidSynth requires GLib 2.0 development files)
}

macx {
# We assume that glib (and gettext) has been installed with Homebrew.
GETTEXT_VERSION = $$system(ls /usr/local/Cellar/gettext/ | sort -n | tail -n1)
LIBS += -L/usr/local/Cellar/gettext/$$GETTEXT_VERSION/lib/
}

QMAKE_CFLAGS += $$system(pkg-config --cflags gthread-2.0 glib-2.0)
LIBS += $$system(pkg-config --libs gthread-2.0 glib-2.0)
Expand Down

0 comments on commit ba87e9c

Please sign in to comment.