mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
6eacea5ae0
Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
15 lines
249 B
Bash
Executable File
15 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Needed for systems without gettext
|
|
$* -x c -o /dev/null - > /dev/null 2>&1 << EOF
|
|
#include <libintl.h>
|
|
int main()
|
|
{
|
|
gettext("");
|
|
return 0;
|
|
}
|
|
EOF
|
|
if [ ! "$?" -eq "0" ]; then
|
|
echo -DKBUILD_NO_NLS;
|
|
fi
|