diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2008-10-26 12:57:29 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2008-10-26 12:57:29 -0700 |
commit | 7d068bbe81977dd1354605003bb8ae91127d0253 (patch) | |
tree | 36b27852134bc1220c072aab732079c841109f98 | |
parent | 5a642cb5c3baec3ffedb0cbe8f194493b24a40c5 (diff) | |
download | libcap-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.Rules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |