Skip to content

Commit

Permalink
build: Use ld syntax in pkg-config files for CMake compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
RadWolfie authored and Ryzee119 committed Jan 14, 2025
1 parent fa06c76 commit 6d3be63
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/pkgconfig/SDL2_image.pc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Name: SDL2_image
Description: image loading library for Simple DirectMedia Layer
Version: 2.0.5
Requires: sdl2 >= 2.0.9 libjpeg libpng
Libs: ${NXDK_DIR}/lib/libSDL2_image.lib
Libs: -l${NXDK_DIR}/lib/libSDL2_image.lib
Cflags: -I${NXDK_DIR}/lib/sdl/SDL2_image
2 changes: 1 addition & 1 deletion lib/pkgconfig/SDL2_ttf.pc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Name: SDL2_ttf
Description: ttf library for Simple DirectMedia Layer with FreeType 2 support
Version: 2.0.14
Requires: sdl2 >= 2.0.9
Libs: ${NXDK_DIR}/lib/libSDL_ttf.lib ${NXDK_DIR}/lib/libfreetype.lib
Libs: -l${NXDK_DIR}/lib/libSDL_ttf.lib -l${NXDK_DIR}/lib/libfreetype.lib
Cflags: -I${NXDK_DIR}/lib/sdl -I${NXDK_DIR}/lib/sdl/SDL_ttf
2 changes: 1 addition & 1 deletion lib/pkgconfig/libjpeg.pc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: libjpeg
Description: A SIMD-accelerated JPEG codec that provides the libjpeg API
Version: 2.0.4
Libs: ${NXDK_DIR}/lib/libjpeg.lib
Libs: -l${NXDK_DIR}/lib/libjpeg.lib
Cflags: -I${NXDK_DIR}/lib/libjpeg/libjpeg-turbo -I${NXDK_DIR}/lib/libjpeg
2 changes: 1 addition & 1 deletion lib/pkgconfig/libpng.pc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Name: libpng
Description: Loads and saves PNG files
Version: 1.6.37
Requires: zlib
Libs: ${NXDK_DIR}/lib/libpng.lib
Libs: -l${NXDK_DIR}/lib/libpng.lib
Cflags: -I${NXDK_DIR}/lib/libpng -I${NXDK_DIR}/lib/libpng/libpng
2 changes: 1 addition & 1 deletion lib/pkgconfig/sdl2.pc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Description: Simple DirectMedia Layer is a cross-platform multimedia library des
Version: 2.0.9
Requires:
Conflicts:
Libs: ${NXDK_DIR}/lib/libSDL2.lib
Libs: -l${NXDK_DIR}/lib/libSDL2.lib
Cflags: -I${NXDK_DIR}/lib/sdl/SDL2/include -DXBOX
2 changes: 1 addition & 1 deletion lib/pkgconfig/zlib.pc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Description: zlib compression library
Version: 1.2.11

Requires:
Libs: ${NXDK_DIR}/lib/libzlib.lib
Libs: -l${NXDK_DIR}/lib/libzlib.lib
Cflags: -I${NXDK_DIR}/lib/zlib/zlib -DZ_SOLO

0 comments on commit 6d3be63

Please sign in to comment.