Skip to content

Commit 8a0c710

Browse files
committed
fixed:make file copy error
update:mac os workflows
1 parent 9fb8644 commit 8a0c710

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/macbuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
4040

4141
- name: install library
42-
run: brew install srt-devel srtp2-devel
42+
run: brew install srt srtp
4343

4444
# 设置依赖库的环境变量
4545
- name: Set up Dependency Environment Variables

XEngine_Source/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ MODULE_QUEUE_PATH = ./XEngine_ModuleQueue
1414

1515
APP_STREAMMEDIA_PATH = ./XEngine_ServiceApp/XEngine_StreamMediaApp
1616

17+
ifeq ($(PLATFORM),linux)
18+
FILEEXT = so
19+
else ifeq ($(PLATFORM),mac)
20+
FILEEXT = dylib
21+
endif
22+
1723
XENGINE_MODULES = libjsoncpp.so libXEngine_InfoReport.so \
1824
libXEngine_ModuleConfigure.so libXEngine_ModuleHelp.so libXEngine_ModuleProtocol.so libXEngine_ModuleSession.so libXEngine_ModuleQueue.so \
1925
XEngine_StreamMediaApp.exe

0 commit comments

Comments
 (0)