[waffle] [PATCH 1/2] pkg/archlinux: Explicitly set /usr/lib as the library directory.

Chad Versace chad.versace at linux.intel.com
Tue Oct 30 10:16:59 PDT 2012


Thanks for the patches. They're on master now.

On 10/28/2012 12:41 PM, Kenneth Graunke wrote:
> 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 \
> 



More information about the waffle mailing list