summaryrefslogtreecommitdiffstats
path: root/lib/libelf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libelf/Makefile')
-rw-r--r--lib/libelf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 55ce30b..5c1cb8c 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -82,7 +82,7 @@ CLEANFILES= ${GENSRCS}
CLEANDIRS= sys
CFLAGS+= -I. -I${SRCDIR} -I${ELFTCDIR}/common
-sys/elf32.h sys/elf64.h sys/elf_common.h: ${.CURDIR}/../../sys/${.TARGET} .NOMETA
+sys/elf32.h sys/elf64.h sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA
mkdir -p ${.OBJDIR}/sys
ln -sf ${.ALLSRC} ${.TARGET}
OpenPOWER on IntegriCloud