packages: Use $(CP) instead of $(INSTALL_BIN) for binaries.
[packages.git] / net / stunnel / Makefile
index 36c7391..49fed85 100644 (file)
@@ -46,7 +46,7 @@ endef
 define Package/stunnel/install 
        $(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/lib $(1)/usr/stunnel
        $(INSTALL_DIR) $(1)/etc/stunnel $(1)/etc/init.d
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/stunnel $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/stunnel $(1)/usr/sbin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libstunnel.so $(1)/usr/sbin/
        $(CP) ./files/stunnel.conf $(1)/etc/stunnel/stunnel.conf
        $(CP) ./files/stunnel.init $(1)/etc/init.d/S90stunnel