diff -Nur src.orig/configure src/configure --- src.orig/configure 2012-06-12 00:57:14.000000000 +0100 +++ src/configure 2012-06-12 18:13:26.000000000 +0100 @@ -164,7 +164,7 @@ DEFINES="-DSWIG_TYPE_TABLE=shogun -DSHOGUN" DEFINES_SWIG= PRELINKFLAGS= -LINKFLAGS= +LINKFLAGS="$LDFLAGS" POSTLINKFLAGS= INCLUDES_STATIC_INTERFACES=