diff options
author | Andrew G Morgan <morgan@kernel.org> | 2013-12-24 10:08:05 -0800 |
---|---|---|
committer | Andrew G Morgan <morgan@kernel.org> | 2013-12-24 10:08:05 -0800 |
commit | 93308182d4a8837adddb803cde4f7efda37d6273 (patch) | |
tree | a998a3c99c6d74894a9cd13d69605af13eabdae6 | |
parent | aed54a828a374a357847bc33b60488b402999c29 (diff) | |
download | libcap-93308182d4a8837adddb803cde4f7efda37d6273.tar.gz |
Add support for power-pc build.
Patch contributed by Ivan Kabaivanov.
Signed-off-by: Andrew G Morgan <morgan@kernel.org>
-rw-r--r-- | Make.Rules | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,13 +7,13 @@ FAKEROOT=$(DESTDIR) # Autoconf-style prefixes are activated when $(prefix) is defined. -# Otherwise binaries and libraraies are installed in /{lib,sbin}/, +# Otherwise binaries and libraries are installed in /{lib,sbin}/, # header files in /usr/include/ and documentation in /usr/man/man?/. # These choices are motivated by the fact that getcap and setcap are # administrative operations that could be needed to recover a system. ifndef lib -lib=$(shell ldd /usr/bin/ld|fgrep ld-linux|cut -d/ -f2) +lib=$(shell ldd /usr/bin/ld|egrep "ld-linux|ld.so"|cut -d/ -f2) endif ifdef prefix |