summaryrefslogtreecommitdiff
path: root/Ports/SDL2/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/SDL2/package.sh')
-rwxr-xr-xPorts/SDL2/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ports/SDL2/package.sh b/Ports/SDL2/package.sh
index 34522f109d..818ac64858 100755
--- a/Ports/SDL2/package.sh
+++ b/Ports/SDL2/package.sh
@@ -4,7 +4,8 @@ version=git
workdir=SDL-main-serenity
useconfigure=true
files="https://github.com/SerenityPorts/SDL/archive/main-serenity.tar.gz SDL2-git.tar.gz"
-configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DPULSEAUDIO=OFF" "-DJACK=OFF")
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DPULSEAUDIO=OFF" "-DJACK=OFF" "-DEXTRA_LDFLAGS=-liconv;-ldl")
+depends=("libiconv")
configure() {
run cmake "${configopts[@]}"