Browse Source

allow static linking

Waldemar Brodkorb 10 years ago
parent
commit
2d790c30cd

+ 1 - 1
package/dnsmasq/Makefile

@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		dnsmasq
 PKG_VERSION:=		2.71
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		9e2e4d59c75e71ee3ca817ff0f9be69e
 PKG_DESCR:=		lightweight dns, dhcp and tftp server
 PKG_SECTION:=		net/dns

+ 6 - 4
package/dnsmasq/patches/patch-Makefile

@@ -1,6 +1,6 @@
---- dnsmasq-2.61.orig/Makefile	2012-04-29 17:01:28.000000000 +0200
-+++ dnsmasq-2.61/Makefile	2012-06-02 20:50:33.000000000 +0200
-@@ -18,13 +18,13 @@
+--- dnsmasq-2.71.orig/Makefile	2014-05-16 21:21:55.000000000 +0200
++++ dnsmasq-2.71/Makefile	2014-06-29 10:49:15.437148455 +0200
+@@ -18,14 +18,14 @@
  
  # Variables you may well want to override.
  
@@ -12,7 +12,9 @@
  BUILDDIR      = $(SRC)
  DESTDIR       = 
 -CFLAGS        = -Wall -W -O2
+-LDFLAGS       = 
 +CFLAGS        ?= -Wall
- LDFLAGS       = 
++LDFLAGS       ?= 
  COPTS         = 
  RPM_OPT_FLAGS = 
+ LIBS          = 

+ 3 - 3
package/dnsmasq/patches/patch-src_config_h

@@ -1,6 +1,6 @@
---- dnsmasq-2.61.orig/src/config.h	2012-04-29 17:01:28.000000000 +0200
-+++ dnsmasq-2.61/src/config.h	2012-06-02 20:51:50.000000000 +0200
-@@ -138,7 +138,7 @@ RESOLVFILE
+--- dnsmasq-2.71.orig/src/config.h	2014-05-16 21:21:55.000000000 +0200
++++ dnsmasq-2.71/src/config.h	2014-06-29 10:47:26.948602860 +0200
+@@ -166,7 +166,7 @@ RESOLVFILE
  #   elif defined(__ANDROID__)
  #      define LEASEFILE "/data/misc/dhcp/dnsmasq.leases"
  #   else