From 1c499abcdaeb30bb27c68cf2032fe4f986f52dda Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 29 Jun 2014 22:26:08 +0000
Subject: [PATCH] pppd: fix build with musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41404
---
 package/network/services/ppp/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index e4e3014f5e..4cee97a0a2 100644
--- a/package/network/services/ppp/Makefile
+++ b/package/network/services/ppp/Makefile
@@ -171,6 +171,9 @@ else
   MAKE_FLAGS += HAVE_MULTILINK=
 endif
 
+ifdef CONFIG_USE_MUSL
+  MAKE_FLAGS += USE_LIBUTIL=
+endif
 
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include
-- 
2.30.2