diff options
author | David Howells <dhowells@redhat.com> | 2014-09-24 14:19:24 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-09-24 14:19:24 +0100 |
commit | d83b9b827c6c4bc2377dfa073cf5c837b87465e8 (patch) | |
tree | fdfc2ffe54ae7c5845daa6ecd1fabef14305c8a0 | |
parent | 8823736faf5055aa471956c0d97c0f06968a2137 (diff) | |
download | keyutils-d83b9b827c6c4bc2377dfa073cf5c837b87465e8.tar.gz |
Define LN as it isn't defined by make and use $(LNS) for a couple of ln -sf
Define LN as it isn't defined by make, but LNS is now defined in terms of it.
Also, use $(LNS) for a couple of "ln -sf" commands.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -17,6 +17,7 @@ MAN5 := $(MANDIR)/man5 MAN7 := $(MANDIR)/man7 MAN8 := $(MANDIR)/man8 INCLUDEDIR := /usr/include +LN := ln LNS := $(LN) -sf ############################################################################### @@ -121,10 +122,10 @@ endif ifeq ($(NO_SOLIB),0) all: $(DEVELLIB) $(DEVELLIB): $(SONAME) - ln -sf $< $@ + $(LNS) $< $@ $(SONAME): $(LIBNAME) - ln -sf $< $@ + $(LNS) $< $@ LIBVERS := -shared -Wl,-soname,$(SONAME) -Wl,--version-script,version.lds |