aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2008-10-26 12:57:29 -0700
committerAndrew G. Morgan <morgan@kernel.org>2008-10-26 12:57:29 -0700
commit7d068bbe81977dd1354605003bb8ae91127d0253 (patch)
tree36b27852134bc1220c072aab732079c841109f98
parent5a642cb5c3baec3ffedb0cbe8f194493b24a40c5 (diff)
downloadlibcap-7d068bbe81977dd1354605003bb8ae91127d0253.tar.gz
libc as a way to infer library directory doesn't work on ubuntu.
This appears to work on both redhat and ubuntu (at least the two distributions I'm using). Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r--Make.Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.Rules b/Make.Rules
index a8670eb..73bfae9 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -11,7 +11,7 @@ FAKEROOT=$(DESTDIR)
# header files in /usr/include/ and documentation in /usr/man/man?/.
ifndef lib
-lib=$(shell ldd /usr/bin/ld|fgrep libc.|cut -d/ -f2)
+lib=$(shell ldd /usr/bin/ld|fgrep ld-linux|cut -d/ -f2)
endif
ifdef prefix