85448febb3
On fedora 20 64bits host, the file /usr/share/config.site contains a fix for installing libraries into /lib/lib64 on 64bits systems that redefine libdir in the generated Makefile. This causes the bug 7262 reported Normen Bolling. Set CONFIG_SITE to "no" to not use config.site fixes: https://bugs.busybox.net/show_bug.cgi?id=7262 Reported-by: Normen Bolling <normen.bolling@teufel.de> Cc: Normen Bolling <normen.bolling@teufel.de> Cc: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
777 B
Makefile
25 lines
777 B
Makefile
################################################################################
|
|
#
|
|
# localedef
|
|
#
|
|
################################################################################
|
|
|
|
LOCALEDEF_VERSION = 2.14.1-r17443-ptx1
|
|
LOCALEDEF_SOURCE = localedef-eglibc-$(LOCALEDEF_VERSION).tar.bz2
|
|
LOCALEDEF_SITE = http://www.pengutronix.de/software/ptxdist/temporary-src
|
|
|
|
# Avoid loading /usr/share/config.site that can redefine libdir when
|
|
# the host arch is a 64bit system.
|
|
HOST_LOCALEDEF_CONF_ENV = CONFIG_SITE="no"
|
|
|
|
HOST_LOCALEDEF_CONF_OPT += \
|
|
--prefix=/usr \
|
|
--with-glibc=./eglibc
|
|
|
|
# The makefile does not implement an install target
|
|
define HOST_LOCALEDEF_INSTALL_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/localedef $(HOST_DIR)/usr/bin/localedef
|
|
endef
|
|
|
|
$(eval $(host-autotools-package))
|