Don't forget to chflags noschg the existing binary so we can symlink
over it safely. Pointed out by: yosimoto@waishi.jp
This commit is contained in:
parent
b18ac9358c
commit
a857d9305c
@ -52,6 +52,11 @@ LDADD= -lc_pic
|
|||||||
dyn_hack.so:
|
dyn_hack.so:
|
||||||
${CC} -shared -nostdlib -o dyn_hack.so -x c /dev/null
|
${CC} -shared -nostdlib -o dyn_hack.so -x c /dev/null
|
||||||
|
|
||||||
|
# Since moving rtld-elf to /libexec, we need to create a symlink.
|
||||||
|
# Fixup the existing binary that's there so we can symlink over it.
|
||||||
|
beforeinstall:
|
||||||
|
-chflags noschg /usr/libexec/ld-elf.so.1
|
||||||
|
|
||||||
.PATH: ${.CURDIR}/${MACHINE_ARCH}
|
.PATH: ${.CURDIR}/${MACHINE_ARCH}
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user