aboutsummaryrefslogtreecommitdiff
path: root/lib/libelf
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2012-07-24 16:03:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2012-07-24 16:03:28 +0000
commit7066cac012831033ca44608c0325bb44baaf5ba6 (patch)
tree8db6b581f7b89cdca3be1a3f08c3f78364b1f0d3 /lib/libelf
parent6d4c4b3fde307d841e348ccd3457f356deb6f3a1 (diff)
Notes
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index ee968124dac0..f4baf1412ab2 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -68,11 +68,9 @@ CLEANFILES= ${GENSRCS}
CLEANDIRS= sys
CFLAGS+= -I${.CURDIR} -I.
-sys/elf32.h sys/elf64.h sys/elf_common.h: sys
- ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
-
-sys:
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET}
mkdir -p ${.OBJDIR}/sys
+ ln -sf ${.CURDIR}/../../sys/${.TARGET} ${.TARGET}
SHLIB_MAJOR= 1