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)