I recently checked out a later version of the viewer, and found
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Apr 2007 21:46:33 +0000 (21:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 4 Apr 2007 21:46:33 +0000 (21:46 +0000)
a couple of build paths that cause problems with builds done outside
the source directory.

Here's a patch:  (You can ignore the version numbers in the patch,
this applies OK against 0.8.79)

I patched both the Makefile.am and Makefile.in files, but obviously
if you re-gen the Makefile.in, that part of the patch is redundant.

The change is straightforward - it just uses top_builddir
in place of top_srcdir for the library path for linking.
When building within the source tree, top_builddir is the
same as top_srcdir, so this should have no effect for
people doing builds the "normal" way.

 lttv/modules/gui/tutorial/Makefile.am |    2 +-
 lttv/modules/text/Makefile.am         |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

<Signed-off-by: Tim Bird tim.bird (at) am.sony.com>

git-svn-id: http://ltt.polymtl.ca/svn@2474 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/tutorial/Makefile.am
ltt/branches/poly/lttv/modules/text/Makefile.am

index ea3fb172dee484e46d818dfb00283404a25b29ea..89446d097888ec51a26608c3f5a6d39795882756 100644 (file)
@@ -26,7 +26,7 @@
 AM_CFLAGS = $(GLIB_CFLAGS) 
 AM_CFLAGS += $(GTK_CFLAGS)
 LIBS += $(GLIB_LIBS)
-LIBS += $(GTK_LIBS) -L${top_srcdir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
+LIBS += $(GTK_LIBS) -L${top_builddir}/lttv/modules/gui/lttvwindow/lttvwindow -llttvwindow
 
 libdir = ${lttvplugindir}
 
index 2afd92e242f0db4382a2507af054ea62b5a9c24f..9971ef80082dac15de9e23107fc501ef73bcf5f0 100644 (file)
@@ -1,5 +1,5 @@
 AM_CFLAGS = $(GLIB_CFLAGS) 
-LIBS += $(GLIB_LIBS) -lgobject-2.0 -L${top_srcdir}/ltt -llttvtraceread
+LIBS += $(GLIB_LIBS) -lgobject-2.0 -L${top_builddir}/ltt -llttvtraceread
 
 libdir = ${lttvplugindir}
 
This page took 0.024709 seconds and 4 git commands to generate.