3 @@ -25,6 +25,11 @@ AM_CPPFLAGS = \
5 AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/sdk/include
8 +AM_LIBTOOLFLAGS="--tag=CXX"
9 +AM_CPPFLAGS+=-I$(top_srcdir)/include/mega/osx -I$(top_srcdir)/sdk/include/mega/osx
13 AM_CPPFLAGS+=-I$(top_srcdir)/sdk/include/mega/win32
15 --- a/src/megacmdshell/megacmdshellcommunications.cpp
16 +++ b/src/megacmdshell/megacmdshellcommunications.cpp
17 @@ -306,10 +306,6 @@ SOCKET MegaCmdShellCommunications::createSocket(int number, bool initializeserve
19 const char executable2[] = "./mega-cmd-server";
22 - const char executable[] = "/Applications/MEGAcmd.app/Contents/MacOS/mega-cmd";
23 - const char executable2[] = "./mega-cmd";
25 const char executable[] = "mega-cmd-server";
27 char executable2[PATH_MAX];
28 @@ -317,7 +313,6 @@ SOCKET MegaCmdShellCommunications::createSocket(int number, bool initializeserve
30 const char executable2[] = "./mega-cmd-server";
35 std::vector<char*> argsVector{
38 @@ -27,6 +27,11 @@ AM_CPPFLAGS = \
40 include m4/aminclude.am
43 +AM_LIBTOOLFLAGS="--tag=CXX"
44 +AM_CPPFLAGS+=-I$(top_srcdir)/include/mega/osx
48 AM_CPPFLAGS+=-I$(top_srcdir)/include/mega/win32