Wrap the creation of the ../include link in /usr/lib in
!defined(LIBRARIES_ONLY) so it is only created once on architectures with 32-bit compat support. Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the METALOG.
This commit is contained in:
parent
016cfca070
commit
7be2362060
@ -252,7 +252,9 @@ _libusbhid= libusbhid
|
||||
_libusb= libusb
|
||||
.endif
|
||||
|
||||
.if !defined(LIBRARIES_ONLY)
|
||||
afterinstall:
|
||||
ln -hfs ../include ${DESTDIR}/usr/lib/include
|
||||
${INSTALL_SYMLINK} ../include ${DESTDIR}/usr/lib/include
|
||||
.endif
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user