mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
418d69c0ad
We are doing nonstandard stuff with our headers, so SDL assumed that both iconv and dlopen are available inside LibC, which they aren't. Fix that by adding a dependency on libiconv and adding additional linker flags.
16 lines
448 B
Bash
Executable file
16 lines
448 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=SDL2
|
|
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" "-DEXTRA_LDFLAGS=-liconv;-ldl")
|
|
depends=("libiconv")
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|