summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-09 23:45:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-09 23:45:27 +0100
commite840b41031acdbb7cd60fce7c67f46f9025d8df1 (patch)
treee2416387212ae7ef6076140cb4854aa33bf8b8a7 /tools
parentbfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff)
parent5c1de006e8e66b0be05be422416629e344c71652 (diff)
downloadlinux-e840b41031acdbb7cd60fce7c67f46f9025d8df1.tar.bz2
Merge back earlier 'pm-tools' material for v3.20
Diffstat (limited to 'tools')
-rw-r--r--tools/power/cpupower/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/cpupower/Makefile b/tools/power/cpupower/Makefile
index 2e2ba2efa0d9..3ed7c0476d48 100644
--- a/tools/power/cpupower/Makefile
+++ b/tools/power/cpupower/Makefile
@@ -209,7 +209,7 @@ $(OUTPUT)%.o: %.c
$(OUTPUT)cpupower: $(UTIL_OBJS) $(OUTPUT)libcpupower.so.$(LIB_MAJ)
$(ECHO) " CC " $@
- $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -lrt -lpci -L$(OUTPUT) -o $@
+ $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) $(UTIL_OBJS) -lcpupower -Wl,-rpath=./ -lrt -lpci -L$(OUTPUT) -o $@
$(QUIET) $(STRIPCMD) $@
$(OUTPUT)po/$(PACKAGE).pot: $(UTIL_SRC)