eolian gen2: fix stub header include guard
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 7 Oct 2016 10:31:01 +0000 (12:31 +0200)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 7 Oct 2016 10:31:01 +0000 (12:31 +0200)
src/bin/eolian2/main.c

index 3a79d36..dbde5bc 100644 (file)
@@ -328,7 +328,7 @@ _write_stub_header(const char *ofname, const char *ifname)
         eina_strbuf_free(cltd);
      }
 
-   buf = _include_guard(ifname, "STUBS", buf);
+   buf = _include_guard(_get_filename(ofname), "STUBS", buf);
 
    Eina_Bool ret = _write_file(ofname, buf);
    eina_strbuf_free(buf);