use exec_prefix/lib for libdir in glew.pc.in

This commit is contained in:
Rudi Heitbaum 2024-12-30 13:37:16 +00:00
parent d593a54a21
commit a24b6d4660
2 changed files with 1 additions and 2 deletions

View File

@ -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 glew.pc: glew.pc.in
sed \ sed \
-e "s|@prefix@|$(GLEW_PREFIX)|g" \ -e "s|@prefix@|$(GLEW_PREFIX)|g" \
-e "s|@libdir@|$(LIBDIR)|g" \
-e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \
-e "s|@cflags@||g" \ -e "s|@cflags@||g" \
-e "s|@libname@|$(NAME)|g" \ -e "s|@libname@|$(NAME)|g" \

View File

@ -1,6 +1,6 @@
prefix=@prefix@ prefix=@prefix@
exec_prefix=${prefix} exec_prefix=${prefix}
libdir=@libdir@ libdir=${exec_prefix}/lib
includedir=${prefix}/include includedir=${prefix}/include
Name: glew Name: glew