[waffle] [PATCH 1/2] pkg/archlinux: Explicitly set /usr/lib as the library directory.
Kenneth Graunke
kenneth at whitecape.org
Sun Oct 28 12:41:21 PDT 2012
By default CMake uses /usr/lib64, which is non-standard on Arch and
results in nothing being able to find the library.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
pkg/archlinux/PKGBUILD.template | 1 +
1 file changed, 1 insertion(+)
Oh, I didn't realize the PKGBUILD is in git...I can just send you patches!
Found an even more serious issue...the built package didn't work. :)
diff --git a/pkg/archlinux/PKGBUILD.template b/pkg/archlinux/PKGBUILD.template
index f970581..02bec6c 100644
--- a/pkg/archlinux/PKGBUILD.template
+++ b/pkg/archlinux/PKGBUILD.template
@@ -30,6 +30,7 @@ build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-Dwaffle_has_glx=1 \
-Dwaffle_has_x11_egl=1 \
--
1.8.0
More information about the waffle
mailing list