Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ jobs:
target: aarch64-unknown-linux-gnu
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- name: Install/setup prerequisites
shell: bash
run: |
sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev
# Test build on the system missing libselinux (don't install libselinux1-dev at here)
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
- name: "`make build`"
Expand Down
12 changes: 4 additions & 8 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,11 @@ HASHSUM_PROGS := \

$(info Detected OS = $(OS))

# Build the SELinux programs only on Linux
ifeq ($(filter $(OS),Linux),)
SELINUX_PROGS :=
endif

ifneq ($(OS),Windows_NT)
PROGS := $(PROGS) $(UNIX_PROGS)
# Build the selinux command even if not on the system
PROGS := $(PROGS) $(SELINUX_PROGS)
PROGS += $(UNIX_PROGS)
endif
ifeq ($(SELINUX_ENABLED),1)
PROGS += $(SELINUX_PROGS)
endif

UTILS ?= $(filter-out $(SKIP_UTILS),$(PROGS))
Expand Down
Loading