configure: enable codesign by default on macOS.

It is useful for the default configuration to just
work out of the box and pass tests instead of crashing
in unexplained ways.
This commit is contained in:
Reimar Döffinger 2023-11-27 20:16:09 +01:00
parent c45cb650fc
commit 0655fd9637

3
configure vendored
View file

@ -191,7 +191,7 @@ Advanced options (experts only):
--config-bcheck=no disable bounds checker (-b) --config-bcheck=no disable bounds checker (-b)
--config-predefs=no do not compile tccdefs.h, instead just include --config-predefs=no do not compile tccdefs.h, instead just include
--config-new_macho=no|yes Force apple object format (autodetect osx <= 10) --config-new_macho=no|yes Force apple object format (autodetect osx <= 10)
--config-codesign Use codesign on apple to sign executables --config-codesign=no do not use codesign on apple to sign executables
--dwarf=x Use dwarf debug info instead of stabs (x=2..5) --dwarf=x Use dwarf debug info instead of stabs (x=2..5)
Cross build options (experimental): Cross build options (experimental):
@ -320,6 +320,7 @@ case $targetos in
Darwin) Darwin)
dwarf=4 dwarf=4
confvars="$confvars OSX" confvars="$confvars OSX"
default_conf "codesign"
DLLSUF=".dylib" DLLSUF=".dylib"
if test -z "$build_cross"; then if test -z "$build_cross"; then
cc=`command -v cc` cc=`command -v cc`