aboutsummaryrefslogtreecommitdiff
path: root/plink-ng-Makefile-zlib.patch
diff options
context:
space:
mode:
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)