libgphoto2: fix bad symlink
authorRosen Penev <rosenp@gmail.com>
Fri, 18 Dec 2020 03:45:37 +0000 (19:45 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 20 Dec 2020 05:54:28 +0000 (21:54 -0800)
Switched to relative path.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libgphoto2/Makefile

index 8fcbd033d57ce57f24fb50141c40a29d61dc5d1c..3e69de332faef484c3f90e963fcbcc849eee70ba 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libgphoto2
 PKG_VERSION:=2.5.26
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PORT_VERSION:=0.12.0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -490,7 +490,7 @@ endef
 define Package/libgphoto2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.so.* $(1)/usr/lib/
-       ln -s $(1)/usr/lib/libgphoto2_port.so.12 $(1)/usr/lib/libgphoto2_port.so.10
+       $(LN) libgphoto2_port.so.12 $(1)/usr/lib/libgphoto2_port.so.10
        $(INSTALL_DIR) $(1)/usr/lib/libgphoto2
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2/print-camera-list $(1)/usr/lib/libgphoto2/print-camera-list
 endef