Browse Source

luafilesystem: tweak Config.in

Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 15 years ago
parent
commit
164d1dc020
1 changed files with 4 additions and 1 deletions
  1. 4 1
      package/luafilesystem/Config.in

+ 4 - 1
package/luafilesystem/Config.in

@@ -1,9 +1,12 @@
 config BR2_PACKAGE_LUAFILESYSTEM
 config BR2_PACKAGE_LUAFILESYSTEM
 	bool "luafilesystem"
 	bool "luafilesystem"
 	depends on BR2_LARGEFILE
 	depends on BR2_LARGEFILE
-	depends on BR2_PACKAGE_LUA_SHARED_LIBRARY
+	select BR2_PACKAGE_LUA_SHARED_LIBRARY
 	help
 	help
 	  LuaFileSystem offers a portable way to access
 	  LuaFileSystem offers a portable way to access
 	  the underlying directory structure and file attributes.
 	  the underlying directory structure and file attributes.
 
 
 	  http://luaforge.net/projects/luafilesystem/
 	  http://luaforge.net/projects/luafilesystem/
+
+comment "luafilesystem requires a toolchain with LARGEFILE support"
+	depends on !BR2_LARGEFILE