From fa7c3ae8f679113a3a08906c19df74b55fbb8dc2 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 9 Sep 2018 20:16:28 +0000 Subject: user/graphite2: fix linking issue on 32-bit platforms --- user/graphite2/APKBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user/graphite2/APKBUILD') diff --git a/user/graphite2/APKBUILD b/user/graphite2/APKBUILD index cec3cf0ac..403b60522 100644 --- a/user/graphite2/APKBUILD +++ b/user/graphite2/APKBUILD @@ -21,6 +21,10 @@ builddir="$srcdir"/$_realname-$pkgver build() { cd "$builddir" + + # Fix linking error on 32-bit platforms + sed -i -e 's/\-nodefaultlibs//g' src/CMakeLists.txt + mkdir build && cd build cmake -G "Unix Makefiles" .. \ -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ -- cgit v1.2.3-60-g2f50