From a24b6d466001ff2b3fa5679e2be0c428e5d469cd Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Mon, 30 Dec 2024 13:37:16 +0000 Subject: [PATCH] use exec_prefix/lib for libdir in glew.pc.in --- Makefile | 1 - glew.pc.in | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cc8bc9c..6bba4f0 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,6 @@ tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wgl glew.pc: glew.pc.in sed \ -e "s|@prefix@|$(GLEW_PREFIX)|g" \ - -e "s|@libdir@|$(LIBDIR)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@cflags@||g" \ -e "s|@libname@|$(NAME)|g" \ diff --git a/glew.pc.in b/glew.pc.in index a892540..cb6e4fa 100644 --- a/glew.pc.in +++ b/glew.pc.in @@ -1,6 +1,6 @@ prefix=@prefix@ exec_prefix=${prefix} -libdir=@libdir@ +libdir=${exec_prefix}/lib includedir=${prefix}/include Name: glew