Skip to content

Commit 9b9fe13

Browse files
committed
libLTO detect under Xcode 9
fixes #52
1 parent d7243b5 commit 9b9fe13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

XcodeLegacy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,9 @@ if [ "\$USE_OLD_LD" -eq '1' ]; then
959959
elif [ "\$var" = '-object_path_lto' ]; then
960960
OBJECT_PATH_LTO_FOUND=1
961961
continue
962+
elif [ "\$var" = '-lto_library' ]; then
963+
OBJECT_PATH_LTO_FOUND=1
964+
continue
962965
elif [ "\$var" = '-no_deduplicate' ]; then
963966
continue
964967
elif [ "\$var" = '-export_dynamic' ]; then

0 commit comments

Comments
 (0)