Skip to content

Commit 69db369

Browse files
committed
fixed:link of build on mac and linux
1 parent 7f57fce commit 69db369

File tree

2 files changed

+3
-1
lines changed
  • XEngine_Source

2 files changed

+3
-1
lines changed

XEngine_Source/XEngine_ModuleHelp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ else ifeq ($(PLATFORM),mac)
6262
PLATVER = -D __MACOS__
6363
PLATDIR = XEngine_Mac
6464
FILEEXT = dylib
65+
LOADHDR += -I /opt/homebrew/opt/srt/include -I /opt/homebrew/opt/srtp/include
66+
LOADSO += -L /opt/homebrew/opt/srt/lib -L /opt/homebrew/opt/srtp/lib
6567
LIBFLAG = -dynamiclib
6668
LIBEX = -lpthread -ldl
6769
LOADBIN = -Wl,-rpath,@loader_path/./

XEngine_Source/XEngine_ServiceApp/XEngine_StreamMediaApp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LIB = -lXEngine_BaseLib -lXEngine_Algorithm \
1111
-lXEngine_Core -lXEngine_ManagePool -lXEngine_Cryption \
1212
-lXClient_Stream \
1313
-lHelpComponents_XLog -lHelpComponents_Packets \
14-
-lNetHelp_APIHelp -lNetHelp_XSocket lNetHelp_APIAddr \
14+
-lNetHelp_APIHelp -lNetHelp_XSocket -lNetHelp_APIAddr \
1515
-lRfcComponents_HttpProtocol -lRfcComponents_NatProtocol \
1616
-lXEngine_AVHelp -lXEngine_AudioCodec \
1717
-lStreamMedia_FLVProtocol -lStreamMedia_RTMPProtocol -lStreamMedia_SDPProtocol -lStreamMedia_HLSProtocol -lStreamMedia_RTSPProtocol -lStreamMedia_RTPProtocol -lStreamMedia_RTCPProtocol \

0 commit comments

Comments
 (0)