mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
plymouth-lite: link libm/libz static
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
76b86c6056
commit
2a5c2bef16
@ -23,7 +23,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.meego.com"
|
PKG_SITE="http://www.meego.com"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||||
PKG_DEPENDS_INIT="toolchain gcc:init zlib:init libpng"
|
PKG_DEPENDS_INIT="toolchain gcc:init libpng"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="tools"
|
PKG_SECTION="tools"
|
||||||
PKG_SHORTDESC="plymouth-lite: Boot splash screen based on Fedora's Plymouth code"
|
PKG_SHORTDESC="plymouth-lite: Boot splash screen based on Fedora's Plymouth code"
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
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 -lm `pkg-config --libs libpng` -lm -lz -Wl,-Bdynamic -lc $(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
|
Loading…
x
Reference in New Issue
Block a user