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
parentLinux 3.19 (diff)
parentcpupower Makefile change to help run the tool without 'make install' (diff)
downloadlinux-e840b41031acdbb7cd60fce7c67f46f9025d8df1.tar.xz
linux-e840b41031acdbb7cd60fce7c67f46f9025d8df1.zip
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)