retroshare: fix noatomic8 build.
This commit is contained in:
parent
83269a5ebb
commit
2dd4348073
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ homepage="https://retroshare.cc"
|
|||
distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz"
|
||||
checksum=901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
post_patch() {
|
||||
# upnputil.c includes a C++ header, so make sure qmake recognizes it as C++
|
||||
mv libretroshare/src/upnp/upnputil.{c,cc}
|
||||
|
|
Loading…
Reference in a new issue