mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/rpm: fix build with NLS
Add TARGET_NLS_LIBS to LIBS to definitely fix linking with lintl instead
of calling autoreconf
Fixes:
- http://autobuild.buildroot.org/results/a1446b419f5f59f65fe80849182e38457de203b5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 653bf93837)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b123c139f3
commit
78001e54cd
@@ -12,8 +12,6 @@ RPM_DEPENDENCIES = host-pkgconf berkeleydb file popt zlib \
|
|||||||
$(TARGET_NLS_DEPENDENCIES)
|
$(TARGET_NLS_DEPENDENCIES)
|
||||||
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
|
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
|
||||||
RPM_LICENSE_FILES = COPYING
|
RPM_LICENSE_FILES = COPYING
|
||||||
# Needed to fix an issue with -lintl linking
|
|
||||||
RPM_AUTORECONF = YES
|
|
||||||
|
|
||||||
RPM_CONF_OPTS = \
|
RPM_CONF_OPTS = \
|
||||||
--disable-python \
|
--disable-python \
|
||||||
@@ -74,6 +72,7 @@ endif
|
|||||||
# ac_cv_prog_cc_c99: RPM uses non-standard GCC extensions (ex. `asm`).
|
# ac_cv_prog_cc_c99: RPM uses non-standard GCC extensions (ex. `asm`).
|
||||||
RPM_CONF_ENV = \
|
RPM_CONF_ENV = \
|
||||||
ac_cv_prog_cc_c99='-std=gnu99' \
|
ac_cv_prog_cc_c99='-std=gnu99' \
|
||||||
CFLAGS="$(TARGET_CFLAGS) $(RPM_CFLAGS)"
|
CFLAGS="$(TARGET_CFLAGS) $(RPM_CFLAGS)" \
|
||||||
|
LIBS=$(TARGET_NLS_LIBS)
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user