aboutsummaryrefslogtreecommitdiff
path: root/plink-ng-Makefile-zlib.patch
diff options
context:
space:
mode:
authorpjotrp2016-02-14 13:42:57 +0000
committerpjotrp2016-02-14 13:42:57 +0000
commit949a3b406233e43f7889d2486b4446c2414ed060 (patch)
treebdb481f847eb91ba65468974700a02518b51feb4 /plink-ng-Makefile-zlib.patch
parent710fc435fadb52bb49c65e8b1337d100c5c32c0a (diff)
downloadguix-bioinformatics-949a3b406233e43f7889d2486b4446c2414ed060.tar.gz
Adding plink
Diffstat (limited to 'plink-ng-Makefile-zlib.patch')
-rw-r--r--plink-ng-Makefile-zlib.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/plink-ng-Makefile-zlib.patch b/plink-ng-Makefile-zlib.patch
new file mode 100644
index 0000000..6c1f62e
--- /dev/null
+++ b/plink-ng-Makefile-zlib.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.std b/Makefile.std
+index 95b0940..630188a 100644
+--- a/Makefile.std
++++ b/Makefile.std
+@@ -22,7 +22,7 @@ endif
+ CFLAGS=-Wall -O2
+ BLASFLAGS=-L/usr/lib64/atlas -llapack -lcblas -latlas
+ LINKFLAGS=-lm -lpthread
+-ZLIB=zlib-1.2.8/libz.so.1.2.8
++ZLIB=-lz
+
+ ifeq ($(SYS), MAC)
+ GCC_GTEQ_43 := $(shell expr `g++ -dumpversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 40300)