powertop: only link against -lintl when needed
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Mar 2015 08:39:22 +0000 (09:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Mar 2015 08:39:22 +0000 (09:39 +0100)
commit198734f00ba858bd9d562aaa2e71ae76248b899e
tree86c8db1a47cfe6cab0aee5b22777c8d2ac7a4bc3
parentb5423c2c3fbe19413450a73ac97b60b7e638aecf
powertop: only link against -lintl when needed

BR2_PACKAGE_GETTEXT=y might be enabled even if BR2_NEEDS_GETTEXT is
not set, and in this case, we should not link against libintl, because
it may not exist, for example with glibc toolchains.

Fixes:

  http://autobuild.buildroot.net/results/270/270018e2c9e3845a4015faa155325eea2cabe3d9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/powertop/powertop.mk