mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
warzone2100: fix -latomic
This commit is contained in:
parent
ac671dce21
commit
602fe827b9
1 changed files with 10 additions and 0 deletions
|
@ -18,6 +18,16 @@ distfiles="https://github.com/Warzone2100/${pkgname}/releases/download/${version
|
||||||
checksum=3368f6653a5ebe5579938f0ebbcfe7907b1f0fc635f0a7aecc5d68ebc50124b5
|
checksum=3368f6653a5ebe5579938f0ebbcfe7907b1f0fc635f0a7aecc5d68ebc50124b5
|
||||||
nocross="fails to detect SDL2 when cross-compiling"
|
nocross="fails to detect SDL2 when cross-compiling"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
echo "target_link_libraries(warzone2100 atomic)" >> CMakeLists.txt
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
warzone2100-data_package() {
|
warzone2100-data_package() {
|
||||||
short_desc+=" - data files"
|
short_desc+=" - data files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue