Fix C++ wrapper generation

This commit is contained in:
François Grisez 2017-03-15 16:42:08 +01:00
parent acf0600ee4
commit f06fd6f0a9
2 changed files with 3 additions and 3 deletions

View file

@ -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}}};

View file

@ -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))