summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/ftgl/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index 840803673..cff2cff4e 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -19,6 +19,10 @@ md5sums=('c7879018cde844059495b3029b0b6503')
build() {
cd "$srcdir/$pkgname-${_pkgver/-/~}"
+
+ # Fix some missing libraries. Should be done in a different way.
+ sed -ri 's/.*_LDADD = .*/& $(GLUT_LIBS) $(GL_LIBS) -lm/' demo/Makefile.in
+
./configure --prefix=/usr --with-pic
make
}