src: update AST client to handle qualified identifiers (no semantic change)
[nit.git] / src / ffi / objc.nit
index 4aafb91..7c293cf 100644 (file)
@@ -169,7 +169,7 @@ class ExternObjCFile
 
        redef fun makefile_rule_name do return "{filename.basename(".m")}_m.o"
        redef fun makefile_rule_content do
-               return "clang $(CFLAGS) -c {filename.basename("")} -o {makefile_rule_name}"
+               return "clang $(CFLAGS) -c {filename.basename} -o {makefile_rule_name}"
        end
        redef fun compiles_to_o_file do return true
 end