Commit f06fd6f0 authored by François Grisez's avatar François Grisez
Browse files

Fix C++ wrapper generation

parent acf0600e
......@@ -16,7 +16,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "linphone.hh"
#include "linphone++/linphone.hh"
using namespace {{{namespace}}};
......
......@@ -651,14 +651,14 @@ def main():
srcdir = args.outputdir + '/src'
try:
os.mkdir(includedir)
os.makedirs(includedir)
except OSError as e:
if e.errno != errno.EEXIST:
print("Cannot create '{0}' dircetory: {1}".format(includedir, e.strerror))
sys.exit(1)
try:
os.mkdir(srcdir)
os.makedirs(srcdir)
except OSError as e:
if e.errno != errno.EEXIST:
print("Cannot create '{0}' dircetory: {1}".format(srcdir, e.strerror))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment