Browse Source

first version

zhuyf 5 years ago
parent
commit
8e189361d7
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Makefile.am
  2. 1 1
      db/Makefile.am

+ 1 - 1
Makefile.am

@@ -26,7 +26,7 @@ SRC_MAIN= ant.cpp area.cpp base64.cpp bindmorecard.cpp mine_business.cpp card_ar
 
 AM_SOURCES=$(SRC_MONKEYCAR) $(SRC_MODULE_SERVICE) $(SRC_MAIN) $(SRC_MAIN_EVENT)
 
-AM_CPPFLAGS=-Wall -pthread -m64 -g -std=c++11 -I${prefix}/include -I/usr/local/mysql/include -Iwebsocket -Iwebsocket/sio -I./db  -Imodule_service
+AM_CPPFLAGS=-Wall -pthread -m64 -g -std=c++11 -I${prefix}/include -I/usr/local/include/mysql -Iwebsocket -Iwebsocket/sio -I./db  -Imodule_service
 
 AM_LDFLAGS=-Wall -pthread -m64 -g -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib
 

+ 1 - 1
db/Makefile.am

@@ -4,7 +4,7 @@ lib_LIBRARIES=libyadb.a
 
 
 CXXFLAGS=-fPIC -g
-AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11  -I${prefix}/include -I../../dist/include -I../../rapidjson/include -I/usr/local/mysql/include -I. -I.. -I../websocket/sio
+AM_CPPFLAGS=-Wall -pthread -m64 -std=c++11  -I${prefix}/include -I../../dist/include -I../../rapidjson/include -I/usr/local/include/mysql -I. -I.. -I../websocket/sio
 AM_LDFLAGS =-Wall -pthread -m64 -std=c++11  -L${prefix}/lib  -L/usr/local/mysql/lib
 
 libyadb_a_SOURCES= db_card.cpp db_api/CDBResultSet.cpp db_api/CDBConnect.cpp \