luafilesystem: tweak Config.in
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 07:29:57 +0000 (09:29 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 07:29:57 +0000 (09:29 +0200)
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>
package/luafilesystem/Config.in

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