From 286f0f8d9c09e86a0759bab7f33e7a5264900a09 Mon Sep 17 00:00:00 2001 From: Andreas Volz Date: Sun, 5 Apr 2009 19:43:26 +0000 Subject: [PATCH] fixes Ticket #291 - make build fails due to -lagg not being found (I hope...) --- Makefile.am | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index d265ac546..aed55d914 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,8 @@ ## Process this file with automake to produce Makefile.in ## Created by Anjuta -SUBDIRS = src \ - agg\ +SUBDIRS = agg \ + src \ plugins\ include \ bindings \ diff --git a/configure.ac b/configure.ac index 6826b8736..f2a49ee59 100644 --- a/configure.ac +++ b/configure.ac @@ -226,7 +226,7 @@ packagesrcdir=`cd $srcdir && pwd` ## second part of agg needs to be here because of packagesrcdir if [ test "x$enable_included_agg" = "xyes"]; then - AGG_LIBS="-L${packagesrcdir}/agg/src -lagg" + AGG_LIBS="${packagesrcdir}/agg/src/libagg.la" AGG_CFLAGS="-I${packagesrcdir}/agg/include" AC_SUBST(AGG_LIBS) AC_SUBST(AGG_CFLAGS)