summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index e8c6551..d28d55b 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -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>
OpenPOWER on IntegriCloud