summaryrefslogtreecommitdiff
path: root/package/digitemp/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/digitemp/patches')
-rw-r--r--package/digitemp/patches/patch-Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/digitemp/patches/patch-Makefile b/package/digitemp/patches/patch-Makefile
index 10ac0c97f..4f19aaae2 100644
--- a/package/digitemp/patches/patch-Makefile
+++ b/package/digitemp/patches/patch-Makefile
@@ -1,6 +1,6 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+do not use static linking on Cygwin
--- digitemp-3.6.0.orig/Makefile 2008-08-28 23:37:00.000000000 +0200
-+++ digitemp-3.6.0/Makefile 2009-06-01 20:04:20.000000000 +0200
++++ digitemp-3.6.0/Makefile 2010-01-06 19:12:56.868375000 +0100
@@ -11,8 +11,8 @@
VERSION = 3.6.0
@@ -12,3 +12,11 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
OBJS = src/digitemp.o src/device_name.o src/ds2438.o
HDRS = src/digitemp.h src/device_name.h
+@@ -57,7 +57,6 @@ endif
+
+ ifneq (, $(findstring CYGWIN,$(SYSTYPE)))
+ CFLAGS += -DCYGWIN
+- LIBS += -static -static-libgcc
+ endif
+
+ ifeq ($(SYSTYPE), SunOS)