Explorar o código

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 04a4b86a982e307268d660a38d231315134572fb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ricardo Martincoski %!s(int64=2) %!d(string=hai) anos
pai
achega
fa019b8d64
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/live555/live555.mk

+ 1 - 1
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