diff --git a/.drone.jsonnet b/.drone.jsonnet index af266144b..e33d98612 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -275,9 +275,4 @@ local mac_builder(name, // Macos builds: mac_builder('macOS (Release)'), mac_builder('macOS (Debug)', build_type='Debug'), - mac_builder('macOS (Static)', cmake_extra='-DBUILD_STATIC_DEPS=ON -DBUILD_SHARED_LIBS=OFF -DSTATIC_LINK=ON -DDOWNLOAD_SODIUM=FORCE -DDOWNLOAD_CURL=FORCE -DDOWNLOAD_UV=FORCE', - extra_cmds=[ - '../contrib/ci/drone-check-static-libs.sh', - '../contrib/ci/drone-static-upload.sh' - ]), ] diff --git a/contrib/mac.sh b/contrib/mac.sh index 38070ba96..548c9f8b2 100755 --- a/contrib/mac.sh +++ b/contrib/mac.sh @@ -35,5 +35,5 @@ cmake \ ninja sign echo -e "Build complete, your app is here:\n" -ls -lad daemon/lokinet.app +ls -lad $(pwd)/daemon/lokinet.app echo "" diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index ac0598f74..dae44608f 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -117,6 +117,10 @@ if(APPLE) ) else() message(WARNING "Not codesigning: CODESIGN_APP (=${CODESIGN_APP}) and/or CODESIGN_APPEX (=${CODESIGN_APPEX}) are not set") + add_custom_target( + sign + DEPENDS lokinet lokinet-extension lokinet-dnsproxy + COMMAND "true") endif() endif()