From fa019b8d64d549541d8f4a754b5d418017a14b85 Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Sun, 27 Nov 2022 10:07:21 -0300 Subject: [PATCH] package/live555: fix build config with locale Using current conditional code, added in 2014: ifndef ($(BR2_ENABLE_LOCALE),y) LIVE555_CFLAGS += -DLOCALE_NOT_USED endif the define LOCALE_NOT_USED is always passed on CFLAGS, because there is no symbol with following names defined: "(y,y)" -> not defined when BR2_ENABLE_LOCALE=y "(,y)" -> not defined when BR2_ENABLE_LOCALE is not set So fix the typo, switching ifndef to ifneq. Signed-off-by: Ricardo Martincoski Signed-off-by: Peter Korsgaard (cherry picked from commit 04a4b86a982e307268d660a38d231315134572fb) Signed-off-by: Peter Korsgaard --- package/live555/live555.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/live555/live555.mk b/package/live555/live555.mk index effd4517cf..56ed705783 100644 --- a/package/live555/live555.mk +++ b/package/live555/live555.mk @@ -39,7 +39,7 @@ else LIVE555_CFLAGS += -DNO_OPENSSL endif -ifndef ($(BR2_ENABLE_LOCALE),y) +ifneq ($(BR2_ENABLE_LOCALE),y) LIVE555_CFLAGS += -DLOCALE_NOT_USED endif