Skip to content

Commit b7665e4

Browse files
authored
Fix occurrence of startswith_insensitive osx
1 parent e2164b6 commit b7665e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/DynamicLibraryManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ namespace Cpp {
302302
// Subst all known linker variables ($origin, @rpath, etc.)
303303
#ifdef __APPLE__
304304
// On MacOS @rpath is preplaced by all paths in RPATH one by one.
305-
if (libStem.startswith_insensitive("@rpath")) {
305+
if (libStem.starts_with_insensitive("@rpath")) {
306306
for (auto& P : RPath) {
307307
std::string result = substFront(libStem, "@rpath", P);
308308
if (isSharedLibrary(result))

0 commit comments

Comments
 (0)