From 7c83e4431ab2c4ae0487cec589787698f148e28d Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 14 Apr 2013 19:13:51 +0000 Subject: [PATCH] Install a symlink /usr/lib/include ==> /usr/include This fixes -print-file-name=include in clang (and is arguably a better way to fix the same issue in GCC than the change I made in r231336). MFC after: 1 week --- lib/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 8846164a8a9..c52d9dffd72 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -252,4 +252,7 @@ _libusbhid= libusbhid _libusb= libusb .endif +afterinstall: + ln -fs ../include ${DESTDIR}/usr/lib/include + .include