mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 00:24:34 +02:00
Allow OS X to build without libintl
This commit is contained in:
committed by
Ivan Grokhotkov
parent
abecab7525
commit
e96d4a0a32
@@ -5,8 +5,8 @@
|
|||||||
ldflags()
|
ldflags()
|
||||||
{
|
{
|
||||||
if [ $(uname -s) == "Darwin" ]; then
|
if [ $(uname -s) == "Darwin" ]; then
|
||||||
#OSX seems to need intl too
|
#OSX seems to need ncurses too
|
||||||
echo -n "-lintl "
|
echo -n "-lncurses"
|
||||||
fi
|
fi
|
||||||
pkg-config --libs ncursesw 2>/dev/null && exit
|
pkg-config --libs ncursesw 2>/dev/null && exit
|
||||||
pkg-config --libs ncurses 2>/dev/null && exit
|
pkg-config --libs ncurses 2>/dev/null && exit
|
||||||
@@ -41,6 +41,10 @@ ccflags()
|
|||||||
else
|
else
|
||||||
echo '-DCURSES_LOC="<curses.h>"'
|
echo '-DCURSES_LOC="<curses.h>"'
|
||||||
fi
|
fi
|
||||||
|
if [ $(uname -s) == "Darwin" ]; then
|
||||||
|
#OSX doesn't have libintl
|
||||||
|
echo -n "-DKBUILD_NO_NLS"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Temp file, try to clean up after us
|
# Temp file, try to clean up after us
|
||||||
|
Reference in New Issue
Block a user