aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/filters.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/filters.c b/src/filters.c
index 17792b85..ef6011d9 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -20,6 +20,9 @@
#include <string.h>
#include <assert.h>
#include <gsl/gsl_statistics_int.h>
+#ifdef GSL_FUDGE
+#include <gsl/gsl_blas.h>
+#endif
#include "image.h"
@@ -116,3 +119,12 @@ void filter_noise(struct image *image, float *old)
}
}
}
+
+
+#ifdef GSL_FUDGE
+/* Force the linker to bring in CBLAS to make GSL happy */
+void fudge_gslcblas()
+{
+ STATUS("%p\n", cblas_sgemm);
+}
+#endif