From: Geert Stappers <stapp...@stappers.nl>

Dnsmasq has not yet a portable build system.
Famous is GNU autoconf which generates Makefiles.
To avoid such large change this simple change.

It allows that PKG_CONFIG can be overriden.
That PKG_CONFIG is set by the build environment,
so no need to modify the Makefile in that env.

Reported by the NixOS project.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 78e25f0..55bccbe 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ LIBS          =
 
 # Variables you might want to override.
 
-PKG_CONFIG = pkg-config
+PKG_CONFIG ?= pkg-config
 INSTALL    = install
 MSGMERGE   = msgmerge
 MSGFMT     = msgfmt
-- 
2.1.4


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to