[saga] 05/05: Use debian version of libsvm

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Mon Nov 3 19:43:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch patch-queue/experimental
in repository saga.

commit f4d457e93a5bcdaf47222633ab21a676ab0985c3
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Mon Nov 3 20:38:24 2014 +0100

    Use debian version of libsvm
---
 src/modules/imagery/imagery_svm/Makefile.am | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/modules/imagery/imagery_svm/Makefile.am b/src/modules/imagery/imagery_svm/Makefile.am
index a92c3bd..8a87973 100644
--- a/src/modules/imagery/imagery_svm/Makefile.am
+++ b/src/modules/imagery/imagery_svm/Makefile.am
@@ -5,16 +5,14 @@ if SAGA_UNICODE
 UC_DEFS = -D_SAGA_UNICODE
 endif
 DEF_SAGA           = -D_SAGA_LINUX -D_TYPEDEF_BYTE -D_TYPEDEF_WORD
-CXX_INCS           = -I$(top_srcdir)/src/saga_core
+CXX_INCS           = -I$(top_srcdir)/src/saga_core -I/usr/include/libsvm
 AM_CXXFLAGS        = -fPIC $(CXX_INCS) $(DEF_SAGA) $(UC_DEFS) $(DBGFLAGS) $(GOMPFLAGS)
-AM_LDFLAGS         = -fPIC -shared -avoid-version
+AM_LDFLAGS         = -fPIC -shared -avoid-version -lsvm
 pkglib_LTLIBRARIES = libimagery_svm.la
 libimagery_svm_la_SOURCES =\
 MLB_Interface.cpp\
-svm.cpp\
 svm_grids.cpp\
 MLB_Interface.h\
-svm.h\
 svm_grids.h
 
 libimagery_svm_la_LIBADD = $(top_srcdir)/src/saga_core/saga_api/libsaga_api.la

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/saga.git



More information about the Pkg-grass-devel mailing list