From 85ae8ea88f3d845b21db328a346e266f1fd642dd Mon Sep 17 00:00:00 2001 From: cat-master21 <96554164+cat-master21@users.noreply.github.com> Date: Sun, 26 Feb 2023 17:10:04 -0800 Subject: [PATCH] Hopefully fix glewmx on aarch64 (#250) --- anda/lib/glewmx/glewmx.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/lib/glewmx/glewmx.spec b/anda/lib/glewmx/glewmx.spec index b3ec49321f..8104b89127 100644 --- a/anda/lib/glewmx/glewmx.spec +++ b/anda/lib/glewmx/glewmx.spec @@ -42,12 +42,12 @@ sed -i 's:$(GLEW_DEST)/include/GL:$(GLEW_DEST)/include/glewmx-%{version}/GL:' Ma %build # This doesn't get actually installed but is to change glewmx.pc before installation -%make_build +%make_build LIBDIR="%{_libdir}" sed -i 's:includedir=${prefix}/include:includedir=${prefix}/include/glewmx-%{version}:' glewmx.pc %install # Only MX is installed -%make_build DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p" install.mx +%make_build DESTDIR=%{buildroot} INSTALL="/usr/bin/install -p" LIBDIR="%{_libdir}" install.mx %files %license LICENSE.txt