Hi, the luasocket package do not copy all the .lua files [1] from the /src directory of the building dir.

Here the patch,


Lorenzo


[1] ftp.lua http.lua ltn12.lua mime.lua smtp.lua socket.lua tp.lua url.lua




Index: Makefile
===================================================================
--- Makefile	(revision 16370)
+++ Makefile	(working copy)
@@ -51,6 +51,7 @@
 	ln -sf ../mime.so.1.0.2 $(1)/usr/lib/lua/mime/core.so
 	$(INSTALL_DIR) $(1)/usr/lib/lua/socket
 	ln -sf ../socket.so.2.0.2 $(1)/usr/lib/lua/socket/core.so
+	$(CP) $(PKG_BUILD_DIR)/src/*.lua   $(1)/usr/lib/lua/socket
 endef
 
 $(eval $(call BuildPackage,luasocket))
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to