diff options
author | midipix <writeonce@midipix.org> | 2018-12-21 16:23:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-21 22:02:14 -0500 |
commit | fd8688a4e5fa80e7aee390327ee2be6c3adfbcc8 (patch) | |
tree | 68bb30b8b4f89780a1e9ea79cf3a8bbef9c279fc /project/config | |
parent | 63edec27ed3ad81167e5413736ada1686bf672c2 (diff) | |
download | sbpython3-fd8688a4e5fa80e7aee390327ee2be6c3adfbcc8.tar.bz2 sbpython3-fd8688a4e5fa80e7aee390327ee2be6c3adfbcc8.tar.xz |
project: custom config: test for and link linintl as needed.
Diffstat (limited to 'project/config')
-rw-r--r-- | project/config/cfgdefs.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 2c7a3a6..ff48f02 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -114,6 +114,14 @@ cfgdefs_perform_common_tests() cfgtest_cflags_append '-DHAVE_GETRANDOM_SYSCALL' fi + # libintl + cfgtest_newline + cfgtest_comment 'libintl' + + if cfgtest_library_presence -lintl; then + cfgtest_ldflags_append '-Wl,--as-needed -lintl -Wl,--no-as-needed' + fi + # ncurses cfgtest_newline cfgtest_comment 'ncurses/ncursesw' |