Eolian generator: Disable system dir scan.
authorTom Hacohen <tom@stosb.com>
Thu, 17 Jul 2014 15:07:33 +0000 (16:07 +0100)
committerTom Hacohen <tom@stosb.com>
Thu, 17 Jul 2014 15:07:57 +0000 (16:07 +0100)
This was causing trouble for cross compilation.

Thanks to q66 for the fix and cedric for reporting.

src/bin/eolian/main.c
src/bin/eolian_cxx/eolian_cxx.cc

index 469c738..bd0be28 100644 (file)
@@ -321,9 +321,6 @@ int main(int argc, char **argv)
         goto end;
      }
 
-   if (!getenv("EFL_RUN_IN_TREE"))
-     eolian_system_directory_scan();
-
    eolian_all_eot_files_parse();
 
    const char *filename;
index 3e54ed3..93064bc 100644 (file)
@@ -197,10 +197,6 @@ database_load(options_type const& opts)
                << "Couldn't load eolian from '" << src << "'.";
           }
      }
-   if (!getenv("EFL_RUN_IN_TREE"))
-     {
-        eolian_system_directory_scan();
-     }
    if (!::eolian_all_eot_files_parse())
      {
         EINA_CXX_DOM_LOG_ERR(eolian_cxx::domain)