summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/shogun/files/shogun-1.1.0-respect-ldflags.patch')
-rw-r--r--sci-libs/shogun/files/shogun-1.1.0-respect-ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-libs/shogun/files/shogun-1.1.0-respect-ldflags.patch b/sci-libs/shogun/files/shogun-1.1.0-respect-ldflags.patch
new file mode 100644
index 000000000000..60753606cdb8
--- /dev/null
+++ b/sci-libs/shogun/files/shogun-1.1.0-respect-ldflags.patch
@@ -0,0 +1,12 @@
+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 -lpthread"
+ POSTLINKFLAGS=
+
+ INCLUDES_STATIC_INTERFACES=