atop: add missing nls.mk include
authorRobert Marko <robimarko@gmail.com>
Sun, 3 Nov 2024 21:43:32 +0000 (22:43 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 3 Nov 2024 22:06:11 +0000 (23:06 +0100)
commit1f3fa379d3826bfef47c734aead216bbc1b81987
tree2a38c604c9001f0066a4f85498744421c83ac2da
parent09a2427c2a4bcf3938750e882ed80c5dd60da279
atop: add missing nls.mk include

If nls.mk is not included and BUILD_NLS is set compilation will fail with:
aarch64-openwrt-linux-musl-gcc atop.o version.o various.o  deviate.o   procdbase.o acctproc.o photoproc.o photosyst.o cgroups.o rawlog.o ifprop.o parseable.o showgeneric.o drawbar.o showlinux.o  showsys.o showprocs.o atopsar.o  netatopif.o netatopbpfif.o gpucom.o  json.o utsnames.o -o atop -lncursesw -lz -lm -lrt -Lstaging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/usr/lib -Lstaging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro  -Lstaging_dir/target-aarch64_cortex-a53_musl/usr/lib -lglib-2.0 -lintl
staging_dir/toolchain-aarch64_cortex-a53_gcc-13.3.0_musl/lib/gcc/aarch64-openwrt-linux-musl/13.3.0/../../../../aarch64-openwrt-linux-musl/bin/ld.bfd: cannot find -lintl: No such file or directory
collect2: error: ld returned 1 exit status

So make sure to include nls.mk.

Fixes: #25231
Signed-off-by: Robert Marko <robimarko@gmail.com>
admin/atop/Makefile