diff options
-rw-r--r-- | lib/libelf/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile index ee96812..f4baf14 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 |