From 50167000e1f0c7ccf9179ae5f545a5723323b855 Mon Sep 17 00:00:00 2001 From: jadr2ddude Date: Mon, 28 Mar 2016 16:19:40 -0400 Subject: [PATCH] Add -lintl to Allow the Info to Compile Without this it cannot find GNU gettext. Compilation without this errors with: "undefined reference to 'libintl_gettext'" --- tools/power/cpupower/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile index 0adaf0c7c03a0f..0777d6b5126ea2 100644 --- a/tools/power/cpupower/Makefile +++ b/tools/power/cpupower/Makefile @@ -127,7 +127,7 @@ WARNINGS += $(call cc-supports,-Wdeclaration-after-statement) WARNINGS += -Wshadow CFLAGS += -DVERSION=\"$(VERSION)\" -DPACKAGE=\"$(PACKAGE)\" \ - -DPACKAGE_BUGREPORT=\"$(PACKAGE_BUGREPORT)\" -D_GNU_SOURCE + -DPACKAGE_BUGREPORT=\"$(PACKAGE_BUGREPORT)\" -D_GNU_SOURCE -lintl UTIL_OBJS = utils/helpers/amd.o utils/helpers/topology.o utils/helpers/msr.o \ utils/helpers/sysfs.o utils/helpers/misc.o utils/helpers/cpuid.o \