Skip to content

Commit 437b6ed

Browse files
committed
fixed:build error
1 parent 941e1d2 commit 437b6ed

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

XEngine_Source/Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,20 @@ BASE_SESSION_PATH = ./MQCore_SessionModule
1313

1414
APP_SERVICE_PATH = ./XEngine_MQServiceApp
1515

16+
ifeq ($(PLATFORM),linux)
17+
FILEEXT = so
18+
else ifeq ($(PLATFORM),mac)
19+
FILEEXT = dylib
20+
endif
21+
1622
XENGINE_MODULES = libjsoncpp.so libXEngine_InfoReport.so \
1723
libMQCore_ConfigModule.so libMQCore_ProtocolModule.so libMQCore_SessionModule.so libMQCore_DBModule.so \
1824
XEngine_MQServiceApp.exe
1925

2026
.PHONY:MakeAll
2127
MakeAll:$(XENGINE_MODULES)
2228

23-
ifeq ($(PLATFORM),linux)
24-
FILEEXT = so
25-
else ifeq ($(PLATFORM),mac)
26-
FILEEXT = dylib
27-
endif
29+
2830
libjsoncpp.so:
2931
ifeq ($(FLAGS), InstallAll)
3032
cp $(BASE_THIRDPART_JSONCPP)/libjsoncpp.$(FILEEXT) ../XEngine_Release/

0 commit comments

Comments
 (0)