Skip to content

Commit 466cedc

Browse files
miniupnpslouken
authored andcommitted
fix: in sdl2.pc libdir was changed to prefix
(cherry picked from commit 9464f33)
1 parent b84adb3 commit 466cedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mingw/pkg-support/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install-package:
3030
-e "s|^set[(]libdir \".*|set(libdir \"$(prefix)/lib\")|" <$(arch)/lib/cmake/SDL2/sdl2-config.cmake >$(prefix)/lib/cmake/SDL2/sdl2-config.cmake; \
3131
sed -e "s|^prefix=.*|prefix=$(prefix)|" \
3232
-e "s|^includedir=.*|includedir=$(prefix)/include|" \
33-
-e "s|^libdir=.*|prefix=$(prefix)/lib|" <$(arch)/lib/pkgconfig/sdl2.pc >$(prefix)/lib/pkgconfig/sdl2.pc; \
33+
-e "s|^libdir=.*|libdir=$(prefix)/lib|" <$(arch)/lib/pkgconfig/sdl2.pc >$(prefix)/lib/pkgconfig/sdl2.pc; \
3434
else \
3535
echo "*** ERROR: $(arch) or $(prefix) does not exist!"; \
3636
exit 1; \

0 commit comments

Comments
 (0)