remove annoying recursive symlink
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Feb 2007 23:28:40 +0000 (23:28 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Feb 2007 23:28:40 +0000 (23:28 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6246 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/libgphoto2/Makefile

index c5fb9b3..a05a0a3 100644 (file)
@@ -83,6 +83,8 @@ define Build/InstallDev
        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(STAGING_DIR)/usr/lib/pkgconfig/libgphoto2.pc
        $(SED) 's,-I$$$${includedir}/gphoto2,,g' $(STAGING_DIR)/usr/lib/pkgconfig/libgphoto2.pc
        $(SED) 's,-L$$$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/libgphoto2.pc
+       # remove annoying recursive symlink
+       rm -f $(STAGING_DIR)/usr/include/gphoto2/gphoto2
 endef
 
 define Build/UninstallDev