Skip to content

Commit

Permalink
gnutls: add build dependency on gettext-full/host
Browse files Browse the repository at this point in the history
The gnutls package uses the gettext-version fixup, which is only
available if gettext-full/host has been built. Add the missing build
dependency to fix these errors:

bash: line 1: /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/gettext: No such file or directory

bash: line 1: /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/autopoint: No such file or directory

It also prevents configure from using host gettext:

checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge

vs:

checking for msgfmt... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/msgfmt
checking for gmsgfmt... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/gmsgfmt
checking for xgettext... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/xgettext
checking for msgmerge... /home/stijn/Development/OpenWrt/openwrt/staging_dir/hostpkg/bin/msgmerge

Signed-off-by: Stijn Tintel <[email protected]>
  • Loading branch information
stintel authored and breakings committed Mar 26, 2022
1 parent 8f62def commit 693a785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/gnutls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ PKG_LICENSE:=LGPL-2.1-or-later
PKG_CPE_ID:=cpe:/a:gnu:gnutls

PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=gettext-full/host
PKG_BUILD_PARALLEL:=1
PKG_LIBTOOL_PATHS:=. lib

Expand Down

0 comments on commit 693a785

Please sign in to comment.