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 <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 04a4b86a98)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Ricardo Martincoski 2022-11-27 10:07:21 -03:00 committed by Peter Korsgaard
parent f4236802ad
commit a6d8ee5404
1 changed files with 1 additions and 1 deletions

View File

@ -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