File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ all: frontend pob
2525sign :
2626 echo ' Signing with the first available identity' ; \
2727 rm -rf PathOfBuilding.app/Contents/MacOS/spec/TestBuilds/3.13; \
28- codesign --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/lcurl.so PathOfBuilding.app/Contents/libs/*; \
29- codesign --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/PathOfBuilding; \
30- codesign --force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app; \
28+ codesign -v - -force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/lcurl.so PathOfBuilding.app/Contents/libs/*; \
29+ codesign -v - -force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app/Contents/MacOS/PathOfBuilding; \
30+ codesign -v - -force --deep --sign $$(security find-identity -v -p codesigning | grep Distribution | awk 'FNR == 1 {print $$2}') PathOfBuilding.app; \
3131 codesign -d -v PathOfBuilding.app
3232
3333# We remove the `launch.devMode or` to ensure the user's builds are stored not in
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ if ! grep -q "LDFLAGS =" Makefile; then
2626LDFLAGS = -Wl,-no_fixup_chains
2727' Makefile
2828fi
29- popd
29+ popd
Original file line number Diff line number Diff line change @@ -14,8 +14,13 @@ curl_dep = dependency('libcurl')
1414
1515# Added flag based on https://stackoverflow.com/a/37729971/319066
1616# and arguments based on https://mesonbuild.com/Adding-arguments.html
17- add_project_arguments (' -mmacos-version-min=10.12' , language : ' c' )
18- add_project_arguments (' -mmacos-version-min=10.12' , language : ' cpp' )
17+ compiler_arguments = [' -mmacosx-version-min=10.12' , ' -isysroot' , ' /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' ]
18+ add_project_arguments (compiler_arguments , language : ' c' )
19+ add_project_arguments (compiler_arguments, language : ' cpp' )
20+
21+ linker_arguments = [' -mmacosx-version-min=10.12' , ' -isysroot' , ' /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' ]
22+ add_project_link_arguments (linker_arguments, language : ' c' )
23+ add_project_link_arguments (linker_arguments, language : ' cpp' )
1924
2025# Import the extension module that knows how
2126# to invoke Qt tools.
You can’t perform that action at this time.
0 commit comments