From 3ac70349a12c534b0fca699166ec46ed29920f00 Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Sun, 12 Mar 2023 11:29:38 -0500 Subject: [PATCH] build: Use ld syntax in pkg-config files for CMake compatibility --- lib/pkgconfig/SDL2_image.pc | 2 +- lib/pkgconfig/SDL2_ttf.pc | 2 +- lib/pkgconfig/libjpeg.pc | 2 +- lib/pkgconfig/libpng.pc | 2 +- lib/pkgconfig/sdl2.pc | 2 +- lib/pkgconfig/zlib.pc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pkgconfig/SDL2_image.pc b/lib/pkgconfig/SDL2_image.pc index 7d261abe7..f997e9101 100644 --- a/lib/pkgconfig/SDL2_image.pc +++ b/lib/pkgconfig/SDL2_image.pc @@ -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 diff --git a/lib/pkgconfig/SDL2_ttf.pc b/lib/pkgconfig/SDL2_ttf.pc index f0e25ada8..a7043dc55 100644 --- a/lib/pkgconfig/SDL2_ttf.pc +++ b/lib/pkgconfig/SDL2_ttf.pc @@ -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 diff --git a/lib/pkgconfig/libjpeg.pc b/lib/pkgconfig/libjpeg.pc index 89d524083..7f51085ea 100644 --- a/lib/pkgconfig/libjpeg.pc +++ b/lib/pkgconfig/libjpeg.pc @@ -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 diff --git a/lib/pkgconfig/libpng.pc b/lib/pkgconfig/libpng.pc index f1998f786..d47053468 100644 --- a/lib/pkgconfig/libpng.pc +++ b/lib/pkgconfig/libpng.pc @@ -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 diff --git a/lib/pkgconfig/sdl2.pc b/lib/pkgconfig/sdl2.pc index 211cc5daa..8c6208b1a 100644 --- a/lib/pkgconfig/sdl2.pc +++ b/lib/pkgconfig/sdl2.pc @@ -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 diff --git a/lib/pkgconfig/zlib.pc b/lib/pkgconfig/zlib.pc index 62060c9bd..433d30d30 100644 --- a/lib/pkgconfig/zlib.pc +++ b/lib/pkgconfig/zlib.pc @@ -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