Blob Blame History Raw
diff -Naur old/Makefile.PL new/Makefile.PL
--- old/Makefile.PL	2013-10-13 18:26:49.000000000 +1100
+++ new/Makefile.PL	2015-01-18 18:46:24.594352156 +1100
@@ -31,6 +31,8 @@
     },
 
     DEFINE => $ctz,
+    LIBS   => '-lcsnappy',
+
 
     dist  => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean => { FILES    => 'Compress-Snappy-*' },
diff -Naur old/Snappy.xs new/Snappy.xs
--- old/Snappy.xs	2012-09-09 03:23:49.000000000 +1000
+++ new/Snappy.xs	2015-01-18 18:53:57.220381008 +1100
@@ -7,8 +7,7 @@
 #define NEED_sv_2pvbyte
 #include "ppport.h"
 
-#include "src/csnappy_compress.c"
-#include "src/csnappy_decompress.c"
+#include <csnappy.h>
 
 MODULE = Compress::Snappy    PACKAGE = Compress::Snappy