1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 14:16:17 +00:00
Lakka-LibreELEC/packages/tools/plymouth-lite/patches/plymouth-lite-0.6.0-22-link-static.patch
Stephan Raue c59439e378 plymouth-lite: fix linking with glibc-2.23, this fixes #4727 this fixes #4732
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-02-20 11:43:28 +01:00

19 lines
667 B
Diff

diff --git a/Makefile b/Makefile
index 6ab27ef..17d12a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
ply-image: ply-image.c ply-frame-buffer.c Makefile
- $(CC) $(CFLAGS) `pkg-config --cflags libpng` ply-image.c ply-frame-buffer.c -o ply-image -lm `pkg-config --libs libpng` -lm -lz
+ $(CC) $(CFLAGS) -Wl,-Bstatic `pkg-config --cflags libpng` ply-image.c ply-frame-buffer.c -o ply-image `pkg-config --libs libpng` -lz -Wl,-Bdynamic -lc -lm $(LDFLAGS)
clean:
rm -f ply-image *~ gmon.out
@@ -11,4 +11,3 @@ install: ply-image
cp ply-image $(DESTDIR)/usr/bin
cp splash.png $(DESTDIR)/usr/share/plymouth/splash.png
-
\ No newline at end of file