Skip to content

Commit

Permalink
iconv on all platforms, fix ubuntu build environment instead
Browse files Browse the repository at this point in the history
  • Loading branch information
bbbradsmith committed Feb 4, 2025
1 parent a4e5906 commit 49d70f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@ jobs:

build-contrib-ubuntu:
name: Contrib Ubuntu
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
- name: Setup libiconv
uses: ConorMacBride/install-package@v1
with:
apt: libc6-dev
- name: Build
run: make -C contrib -j

build-contrib-macos:
name: Contrib macOS
runs-on: macos-14
runs-on: macos-latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
Expand Down
11 changes: 1 addition & 10 deletions contrib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,7 @@ ifeq ($(CXXFLAGS),)
CXXFLAGS := $(CXXFLAGS_DEBUG)
endif

ifeq ($(OS),Windows_NT)
# MSYS2 iconv
LDFLAGS_EXTRA := -liconv
else ifeq ($(shell uname),Darwin)
# MacOS iconv
LDFLAGS_EXTRA := -liconv
else
LDFLAGS_EXTRA :=
endif

LDFLAGS_EXTRA := -liconv

LIBXGM_CPP_SRCS = \
../xgm/devices/Audio/MedianFilter.cpp \
Expand Down

0 comments on commit 49d70f1

Please sign in to comment.