Skip to content

Commit eb84e73

Browse files
Merge remote-tracking branch 'origin/release-6.7.7' into merge-6.7.7-rc-3
Conflicts: util/build_libinfo.pl
2 parents e8644eb + ff9e80b commit eb84e73

6 files changed

Lines changed: 21 additions & 12 deletions

File tree

docs/notes/bugfix-15685.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Fix the path to the OSX standalone engine on Linux
2+

docs/notes/bugfix-15718.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 'SSL library not found' error thrown on iOS when using SSL & Encryption library

docs/notes/bugfix-15743.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# iOS standalone engine do not build anymore in Debug mode

ide-support/revsaveasstandalone.livecodescript

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,10 @@ private command revCreateStandalone pStack, pFolder
576576
case "MacOSX x86-32"
577577
// SN-2015-07-09: [[ StandaloneDeployment ]] Gypified Standalone-<edition>.app building does not
578578
// allow to create broken applications, so that the executable file in it bears the edition.
579-
put it & "/Mac OS X/x86-32/Standalone.app/Contents/MacOS/Standalone-" & the editionType into line 1 of tEngineSourceFile[tPlatform]
579+
local tEdition
580+
put the editionType into tEdition
581+
put the upper of char 1 of tEdition into char 1 of tEdition
582+
put it & "/Mac OS X/x86-32/Standalone.app/Contents/MacOS/Standalone-" & tEdition into line 1 of tEngineSourceFile[tPlatform]
580583
break
581584
case "Windows"
582585
put it & "/Windows/x86-32/Standalone" into tEngineSourceFile[tPlatform]

tools/extract-debug-symbols.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,23 @@ for input in $@ ; do
5252
real_input="${input}"
5353
fi
5454

55-
# Extract a copy of the debugging information
56-
echo Extracting debug symbols for ${input}
57-
dsymutil --out "${output}" "${real_input}"
5855

59-
# Strip the executable
60-
$STRIP -x -S "$real_input"
56+
# If the OS is iOS and this is a debug build, do nothing
57+
if [ "$os" == "ios" -a "$BUILDTYPE" == "Debug" ] ; then
58+
echo Creating empty debug symbols file for ${input}
59+
touch "${output}"
60+
else
61+
# Extract a copy of the debugging information
62+
echo Extracting debug symbols for ${input}
63+
dsymutil --out "${output}" "${real_input}"
64+
65+
# Strip the executable
66+
$STRIP -x -S "$real_input"
67+
fi
6168
done
6269

6370
}
6471

65-
# If the OS is iOS and this is a debug build, do nothing
66-
if [ "$os" == "ios" -a "$BUILDTYPE" == "Debug" ] ; then
67-
exit 0
68-
fi
69-
7072
case $os in
7173
linux|android)
7274
extract_linux_or_android ${inputs}

util/build_libinfo.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ sub trim
9595
output " &__libexternalname,";
9696
output " __libexports";
9797
output "};";
98-
output "LibInfo *__libinfoptr_$name __attribute__((__visibility__(\"default\"))) = &__libinfo;";
98+
output "__attribute((__visibility__(\"default\"),section(\"__DATA,__libs\"))) volatile struct LibInfo *__libinfoptr_$name = &__libinfo;";
9999
output "};";
100100

101101
sub output

0 commit comments

Comments
 (0)