diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-10 16:01:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-10 16:01:43 +0100 |
commit | 6d9c9a3eed574c29368efb644e76fadd5c2a9fd5 (patch) | |
tree | 48d0e5466116989f90915d41ea911f50daafd817 /package/digitemp | |
parent | 0f9b869c4265719bc60f92411105e3ffa7450c50 (diff) |
fix build on cygwin
Diffstat (limited to 'package/digitemp')
-rw-r--r-- | package/digitemp/Makefile | 2 | ||||
-rw-r--r-- | package/digitemp/patches/patch-Makefile | 12 |
2 files changed, 11 insertions, 3 deletions
diff --git a/package/digitemp/Makefile b/package/digitemp/Makefile index a03d7e1f1..fab6e8d79 100644 --- a/package/digitemp/Makefile +++ b/package/digitemp/Makefile @@ -8,7 +8,7 @@ PKG_VERSION:= 3.6.0 PKG_RELEASE:= 1 PKG_BUILDDEP+= libusb libusb-compat PKG_MD5SUM:= 9be2e48db37920f21925ae6e88f83b84 -PKG_DESCR:= simple to use program for reading values from 1-wire devices +PKG_DESCR:= simple program for reading values from 1-wire devices PKG_SECTION:= misc PKG_DEPENDS:= libusb PKG_URL:= http://www.digitemp.com/software/linux 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) |