summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Eduardo <carana2099@gmail.com>2023-01-15 23:09:13 -0300
committerSam James <sam@gentoo.org>2023-01-20 01:21:33 +0000
commitcb17fbe3cfdc620aefd1017f500810d69a2bccb9 (patch)
tree6d1da44aba3328947dbdf24c0fa665295ce760e8
parentsci-libs/pdal: bump 2.5.0 (diff)
downloadgentoo-cb17fbe3cfdc620aefd1017f500810d69a2bccb9.tar.gz
gentoo-cb17fbe3cfdc620aefd1017f500810d69a2bccb9.tar.bz2
gentoo-cb17fbe3cfdc620aefd1017f500810d69a2bccb9.zip
media-libs/libsdl2: fix build with slibtool + clang
Closes: https://bugs.gentoo.org/890744 Signed-off-by: Carlos Eduardo <carana2099@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29129 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch b/media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch
index d57c7b8f1c6b..ec0db40c0b3d 100644
--- a/media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch
+++ b/media-libs/libsdl2/files/libsdl2-2.0.16-static-libs.patch
@@ -21,7 +21,7 @@ Bug: https://github.com/gentoo/gentoo/pull/20087
$(objects)/$(TARGET): $(GEN_HEADERS) $(GEN_OBJECTS) $(OBJECTS) $(VERSION_OBJECTS)
- $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=$(LIBTOOLLINKERTAG) --mode=link $(LINKER) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
-+ $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=$(LIBTOOLLINKERTAG) --mode=link $(LINKER) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
++ $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=$(LIBTOOLLINKERTAG) --mode=link $(LINKER) $(CFLAGS) -o $@ $(OBJECTS) $(GEN_OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
$(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
- $(RUN_CMD_LTLINK)$(LIBTOOL) --tag=$(LIBTOOLLINKERTAG) --mode=link $(LINKER) -static -o $@ $(SDLMAIN_OBJECTS) -rpath $(libdir)