Skip to content

Commit 41a66fe

Browse files
committed
smb: enable for apple builds
1 parent 29821a8 commit 41a66fe

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

pkg/apple/BaseConfig.xcconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ OTHER_CFLAGS = $(inherited) -DHAVE_AUDIOMIXER
1313
OTHER_CFLAGS = $(inherited) -DHAVE_BSV_MOVIE
1414
OTHER_CFLAGS = $(inherited) -DHAVE_BUILTINGLSLANG
1515
// Define HAVE_BUILTINMBEDTLS by default (overridden by deps.xcconfig when present)
16+
OTHER_CFLAGS = $(inherited) -DHAVE_BUILTINSMBCLIENT
17+
OTHER_CFLAGS = $(inherited) -DHAVE_SMBCLIENT
1618
MBEDTLS_BUILTIN_FLAG = -DHAVE_BUILTINMBEDTLS
1719
OTHER_CFLAGS = $(inherited) $(MBEDTLS_BUILTIN_FLAG)
1820
OTHER_CFLAGS = $(inherited) -DHAVE_CC_RESAMPLER
@@ -164,6 +166,8 @@ HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/glslang/glslang/glslang/MachineIn
164166
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/glslang/glslang/glslang/OSDependent/Unix
165167
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/glslang/glslang/glslang/Public
166168
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/libFLAC/include
169+
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/libsmb2/include
170+
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/libsmb2/include/smb2
167171
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/rcheevos/include
168172
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/stb
169173
HEADER_SEARCH_PATHS = $(inherited) $(DEPS_DIR)/zstd/lib

pkg/apple/RetroArch.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@
414414
"$(SRCROOT)/../../libretro-common/include/compat/zlib",
415415
"$(SRCROOT)/../../deps/discord-rpc/include",
416416
"$(SRCROOT)/../../deps/libFLAC/include",
417+
"$(SRCROOT)/../../deps/libsmb2/include",
418+
"$(SRCROOT)/../../deps/libsmb2/include/smb2",
417419
"$(SRCROOT)/../../deps/rcheevos/include",
418420
"$(SRCROOT)/../../deps/7zip",
419421
"$(SRCROOT)/../../deps/stb",
@@ -457,6 +459,8 @@
457459
"$(SRCROOT)/../../libretro-common/include/compat/zlib",
458460
"$(SRCROOT)/../../deps/discord-rpc/include",
459461
"$(SRCROOT)/../../deps/libFLAC/include",
462+
"$(SRCROOT)/../../deps/libsmb2/include",
463+
"$(SRCROOT)/../../deps/libsmb2/include/smb2",
460464
"$(SRCROOT)/../../deps/rcheevos/include",
461465
"$(SRCROOT)/../../deps/7zip",
462466
"$(SRCROOT)/../../deps/stb",
@@ -503,6 +507,8 @@
503507
"$(SRCROOT)/../../libretro-common/include/compat/zlib",
504508
"$(SRCROOT)/../../deps/discord-rpc/include",
505509
"$(SRCROOT)/../../deps/libFLAC/include",
510+
"$(SRCROOT)/../../deps/libsmb2/include",
511+
"$(SRCROOT)/../../deps/libsmb2/include/smb2",
506512
"$(SRCROOT)/../../deps/rcheevos/include",
507513
"$(SRCROOT)/../../deps/7zip",
508514
"$(SRCROOT)/../../deps/stb",
@@ -543,6 +549,8 @@
543549
"$(SRCROOT)/../../libretro-common/include/compat/zlib",
544550
"$(SRCROOT)/../../deps/discord-rpc/include",
545551
"$(SRCROOT)/../../deps/libFLAC/include",
552+
"$(SRCROOT)/../../deps/libsmb2/include",
553+
"$(SRCROOT)/../../deps/libsmb2/include/smb2",
546554
"$(SRCROOT)/../../deps/rcheevos/include",
547555
"$(SRCROOT)/../../deps/7zip",
548556
"$(SRCROOT)/../../deps/stb",
@@ -575,6 +583,8 @@
575583
"-DHAVE_ACCESSIBILITY",
576584
"-DHAVE_SSL",
577585
"-DHAVE_BUILTINMBEDTLS",
586+
"-DHAVE_BUILTINSMBCLIENT",
587+
"-DHAVE_HAVE_SMBCLIENT",
578588
"-DHAVE_COMMAND",
579589
"-DHAVE_NETWORK_CMD",
580590
"-DHAVE_GRIFFIN",
@@ -662,6 +672,8 @@
662672
"-DHAVE_ACCESSIBILITY",
663673
"-DHAVE_SSL",
664674
"-DHAVE_BUILTINMBEDTLS",
675+
"-DHAVE_BUILTINSMBCLIENT",
676+
"-DHAVE_HAVE_SMBCLIENT",
665677
"-DHAVE_COMMAND",
666678
"-DHAVE_NETWORK_CMD",
667679
"-DHAVE_GRIFFIN",

0 commit comments

Comments
 (0)