mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
e2fsprogs: fix static linking issues with libintl
Util-linux (and hence libuuid) links against libintl if BR2_NEEDS_GETTEXT_IF_LOCALE, so e2fsprogs needs to link against it as when when statically linking, otherwise the configure test for libuuid (and later linking) fails. Fixes: http://autobuild.buildroot.net/results/833/8338a03028de9502be506a80bd947d80b3e50a49/ http://autobuild.buildroot.net/results/361/361aa2e47a7561ff6624829bdfcfe66ecaddc4a6/ http://autobuild.buildroot.net/results/4dc/4dc157bb9cd2e86b9b88ff9c1b66468fa930ede4/ http://autobuild.buildroot.net/results/ebf/ebf02964de98f82e7d5509c68cbfacdb5bc6f87e/ And many more. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
6ea07d5286
commit
32c2385f26
@ -29,6 +29,12 @@ ifeq ($(BR2_nios2),y)
|
||||
E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
# util-linux libuuid pulls in libintl if needed, so ensure we also
|
||||
# link against it, otherwise static linking fails
|
||||
E2FSPROGS_CONF_ENV += LIBS=-lintl
|
||||
endif
|
||||
|
||||
E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux
|
||||
|
||||
E2FSPROGS_MAKE_OPTS = \
|
||||
|
Loading…
Reference in New Issue
Block a user