dnsmasq: patch Makefile to not override LDFLAGS

This commit is contained in:
Henrik Grimler 2020-01-11 10:05:26 +01:00 committed by Yaksh Bariya
parent bafc8d886c
commit 1c77ab74db
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 10 additions and 5 deletions

View File

@ -1,6 +1,6 @@
--- ../Makefile.orig 2018-05-08 13:11:40.707974108 +0000
+++ ./Makefile 2018-05-08 13:17:01.037389651 +0000
@@ -18,14 +18,14 @@
--- ./Makefile.orig 2020-01-11 09:55:44.939872951 +0100
+++ ./Makefile 2020-01-11 09:56:29.246687538 +0100
@@ -18,17 +18,17 @@
# Variables you may well want to override.
@ -15,7 +15,11 @@
-CFLAGS = -Wall -W -O2
-LDFLAGS =
+CFLAGS ?= -Wall -W -O2
+LDFLAGS = -llog
+LDFLAGS ?=
COPTS =
RPM_OPT_FLAGS =
LIBS =
-LIBS =
+LIBS = -llog
#################################################################

View File

@ -2,6 +2,7 @@ TERMUX_PKG_HOMEPAGE=http://www.thekelleys.org.uk/dnsmasq/doc.html
TERMUX_PKG_DESCRIPTION="Dnsmasq provides network infrastructure for small networks"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=2.80
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=cdaba2785e92665cf090646cba6f94812760b9d7d8c8d0cfb07ac819377a63bb
TERMUX_PKG_BUILD_IN_SRC=true