syntax-highlighting: explicitly link against libatomic
This commit is contained in:
parent
85ebf1b276
commit
9a01eb28ed
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,8 @@ build_style=cmake
|
||||||
configure_args="-DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=/usr/libexec/${pkgname}/katehighlightingindexer"
|
configure_args="-DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=/usr/libexec/${pkgname}/katehighlightingindexer"
|
||||||
hostmakedepends="kcoreaddons extra-cmake-modules perl qt5-host-tools
|
hostmakedepends="kcoreaddons extra-cmake-modules perl qt5-host-tools
|
||||||
qt5-qmake qt5-tools qt5-devel qt5-tools-devel"
|
qt5-qmake qt5-tools qt5-devel qt5-tools-devel"
|
||||||
makedepends="qt5-devel qt5-tools-devel qt5-xmlpatterns-devel"
|
makedepends="qt5-devel qt5-tools-devel qt5-xmlpatterns-devel
|
||||||
|
libatomic-devel"
|
||||||
short_desc="Syntax highlighting engine for structured text and code"
|
short_desc="Syntax highlighting engine for structured text and code"
|
||||||
maintainer="John <me@johnnynator.dev>"
|
maintainer="John <me@johnnynator.dev>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
|
@ -18,6 +19,10 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" syntax-highlighting"
|
hostmakedepends+=" syntax-highlighting"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
# internal tool needed for cross-building
|
# internal tool needed for cross-building
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue