summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDan Elkouby2020-01-27 19:02:46 +0200
committerDan Elkouby2020-01-27 19:02:46 +0200
commit5118483ac51712b6c91c54ede8ea765a94dce60c (patch)
tree7d09ea047d1c2fabefea331b94e403cab8fee08b /PKGBUILD
parent1c789d7d1a9294dd8a66b216f3861401c2adf00b (diff)
downloadaur-5118483ac51712b6c91c54ede8ea765a94dce60c.tar.gz
Fix building without spellchecking
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5e338479fc5f..e5ed4a107a32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=telegram-desktop9
pkgver=1.9.8
-pkgrel=4
+pkgrel=5
pkgdesc='Official Telegram Desktop client (personal build)'
arch=('x86_64')
url="https://desktop.telegram.org/"
@@ -55,6 +55,8 @@ build() {
cd "$srcdir/tdesktop-$pkgver-full"
mkdir build
export CXXFLAGS="$CXXFLAGS -ffile-prefix-map=$srcdir/tdesktop-$pkgver-full="
+ # For some reason, this is needed when building without spellchecking
+ export LDFLAGS="$LDFLAGS,--copy-dt-needed-entries"
cmake -B build -G Ninja . \
-Ddisable_autoupdate=1 \
-DCMAKE_INSTALL_PREFIX=/usr \