From 98305250dfe5dcd1c30999b7c36f488fbe0ca0f5 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 10 Sep 2010 03:31:13 +0000 Subject: [PATCH] Fix compilation of tests on OS X Originally committed to SVN as r4777. --- aegisub/tests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aegisub/tests/Makefile.am b/aegisub/tests/Makefile.am index 6df89ca87..4f7ce1552 100644 --- a/aegisub/tests/Makefile.am +++ b/aegisub/tests/Makefile.am @@ -5,6 +5,9 @@ bin_PROGRAMS = run run_LDFLAGS= -L../libaegisub -laegisub-3.0 -lgtest @ICONV_LDFLAGS@ -L../universalchardet -luniversalchardet run_CPPFLAGS= -I../src/include -I../libaegisub/include +if BUILD_DARWIN +run_LDFLAGS += -framework ApplicationServices +endif run_SOURCES = \ main.cpp \