From 3e4431a44027057fae06cecdc6819d5251896ea7 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 8 Apr 2025 00:28:58 +0200
Subject: [PATCH] Don't set rpath in pkg-config file
The other SDL satellite libraries don't do this either.
(libcurl also does not add rpaths)
---
cmake/sdl3-shadercross.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/sdl3-shadercross.pc.in b/cmake/sdl3-shadercross.pc.in
index 3c2c9bc..10aef16 100644
--- a/cmake/sdl3-shadercross.pc.in
+++ b/cmake/sdl3-shadercross.pc.in
@@ -7,7 +7,7 @@ Name: @PROJECT_NAME@
Description: Support SPIR-V and HLSL on various backends
Version: @PROJECT_VERSION@
Requires: sdl3 >= @SDL_REQUIRED_VERSION@
-Libs: -L${libdir} -Wl,-rpath,${libdir} -Wl,--enable-new-dtags -lSDL3_shadercross
+Libs: -L${libdir} -lSDL3_shadercross
Requires.private: @PC_REQUIRES@
Libs.private: @PC_LIBS@
Cflags: -I${includedir}