From 773732df25c5cba0324be4623673e5e3d4571161 Mon Sep 17 00:00:00 2001 From: Ofek Shaked Date: Sun, 16 Jun 2024 16:04:47 +0300 Subject: [PATCH] WIP --- .github/workflows/release.yml | 2 ++ plugins/epan/tracee-event/CMakeLists.txt | 4 ++++ plugins/epan/tracee-network-capture/CMakeLists.txt | 4 ++++ plugins/wiretap/tracee-json/CMakeLists.txt | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2b8299..2a10ef5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,8 @@ jobs: tag_name: ${{ github.event.inputs.tag }} release_name: ${{ github.event.inputs.tag }} body: ${{ github.event.inputs.release_body }} + draft: true + prerelease: true outputs: upload_url: ${{ steps.create-release.outputs.upload_url }} diff --git a/plugins/epan/tracee-event/CMakeLists.txt b/plugins/epan/tracee-event/CMakeLists.txt index b385922..260fa07 100644 --- a/plugins/epan/tracee-event/CMakeLists.txt +++ b/plugins/epan/tracee-event/CMakeLists.txt @@ -33,6 +33,10 @@ if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}") endif() +if(APPLE) + link_directories(/usr/local/lib) +endif() + add_compile_definitions( PLUGIN_VERSION=\"${PROJECT_VERSION}\" $<$:HAVE_SSIZE_T> diff --git a/plugins/epan/tracee-network-capture/CMakeLists.txt b/plugins/epan/tracee-network-capture/CMakeLists.txt index 6ce71db..9c0ee21 100644 --- a/plugins/epan/tracee-network-capture/CMakeLists.txt +++ b/plugins/epan/tracee-network-capture/CMakeLists.txt @@ -33,6 +33,10 @@ if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}") endif() +if(APPLE) + link_directories(/usr/local/lib) +endif() + add_compile_definitions( PLUGIN_VERSION=\"${PROJECT_VERSION}\" $<$:HAVE_SSIZE_T> diff --git a/plugins/wiretap/tracee-json/CMakeLists.txt b/plugins/wiretap/tracee-json/CMakeLists.txt index 41f0c28..b949177 100644 --- a/plugins/wiretap/tracee-json/CMakeLists.txt +++ b/plugins/wiretap/tracee-json/CMakeLists.txt @@ -33,6 +33,10 @@ if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}") endif() +if(APPLE) + link_directories(/usr/local/lib) +endif() + add_compile_definitions( PLUGIN_VERSION=\"${PROJECT_VERSION}\" $<$:HAVE_SSIZE_T>