From 6a77ac11810848f27f704e993bba7cf55fdf70dc Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 31 May 2011 06:16:12 +0000 Subject: [PATCH] link elementary_testql lib against eio when needed SVN revision: 59832 --- src/bin/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index e72788c..da028cc 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -149,7 +149,7 @@ endif ## This is how to build a quicklanch capable app # build the shared lib version - libtool produces a .a and .la file as well -# as a .so - these get put in libdir ($PREIFX/lib) as elementary_testql.so +# as a .so - these get put in libdir ($PREFIX/lib) as elementary_testql.so # etc. - this is where elementary will expect to find the .so's for # quicklaunch apps. elementary_testqldir = $(libdir) @@ -157,6 +157,11 @@ elementary_testql_LTLIBRARIES = elementary_testql.la elementary_testql_la_SOURCES = $(elementary_test_SOURCES) elementary_testql_la_LIBADD = $(top_builddir)/src/lib/libelementary.la \ @ELEMENTARY_EWEATHER_LIBS@ + +if HAVE_EIO +elementary_testql_la_LIBADD += @EIO_LIBS@ +endif + elementary_testql_la_CFLAGS = elementary_testql_la_LDFLAGS = -module -avoid-version -no-undefined elementary_testql_SOURCES = $(elementary_test_SOURCES) -- 2.7.4