mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-06 13:27:48 +00:00
fix: in sdl2.pc libdir was changed to prefix
(cherry picked from commit 9464f334b5)
This commit is contained in:
committed by
Sam Lantinga
parent
b84adb3720
commit
466cedc0da
@@ -30,7 +30,7 @@ install-package:
|
||||
-e "s|^set[(]libdir \".*|set(libdir \"$(prefix)/lib\")|" <$(arch)/lib/cmake/SDL2/sdl2-config.cmake >$(prefix)/lib/cmake/SDL2/sdl2-config.cmake; \
|
||||
sed -e "s|^prefix=.*|prefix=$(prefix)|" \
|
||||
-e "s|^includedir=.*|includedir=$(prefix)/include|" \
|
||||
-e "s|^libdir=.*|prefix=$(prefix)/lib|" <$(arch)/lib/pkgconfig/sdl2.pc >$(prefix)/lib/pkgconfig/sdl2.pc; \
|
||||
-e "s|^libdir=.*|libdir=$(prefix)/lib|" <$(arch)/lib/pkgconfig/sdl2.pc >$(prefix)/lib/pkgconfig/sdl2.pc; \
|
||||
else \
|
||||
echo "*** ERROR: $(arch) or $(prefix) does not exist!"; \
|
||||
exit 1; \
|
||||
|
||||
Reference in New Issue
Block a user