[packages] pianobar: force the lib symlinks
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30609 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c2c8640fc6
commit
b5a8cb9820
24
sound/pianobar/patches/002-force-symlinks.patch
Normal file
24
sound/pianobar/patches/002-force-symlinks.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -108,8 +108,8 @@ libpiano.so.0: ${LIBPIANO_RELOBJ} ${LIBP
|
||||||
|
${CC} -shared -Wl,-soname,libpiano.so.0 ${CFLAGS} ${LDFLAGS} ${LIBGNUTLS_LDFLAGS} \
|
||||||
|
-o libpiano.so.0.0.0 ${LIBPIANO_RELOBJ} \
|
||||||
|
${LIBWAITRESS_RELOBJ} ${LIBEZXML_RELOBJ}
|
||||||
|
- ln -s libpiano.so.0.0.0 libpiano.so.0
|
||||||
|
- ln -s libpiano.so.0 libpiano.so
|
||||||
|
+ ln -sf libpiano.so.0.0.0 libpiano.so.0
|
||||||
|
+ ln -sf libpiano.so.0 libpiano.so
|
||||||
|
${AR} rcs libpiano.a ${LIBPIANO_OBJ} ${LIBWAITRESS_OBJ} ${LIBEZXML_OBJ}
|
||||||
|
|
||||||
|
%.o: %.c
|
||||||
|
@@ -177,8 +177,8 @@ endif
|
||||||
|
install-libpiano:
|
||||||
|
install -d ${DESTDIR}/${LIBDIR}/
|
||||||
|
install -m644 libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/
|
||||||
|
- ln -s libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/libpiano.so.0
|
||||||
|
- ln -s libpiano.so.0 ${DESTDIR}/${LIBDIR}/libpiano.so
|
||||||
|
+ ln -sf libpiano.so.0.0.0 ${DESTDIR}/${LIBDIR}/libpiano.so.0
|
||||||
|
+ ln -sf libpiano.so.0 ${DESTDIR}/${LIBDIR}/libpiano.so
|
||||||
|
install -m644 libpiano.a ${DESTDIR}/${LIBDIR}/
|
||||||
|
install -d ${DESTDIR}/${INCDIR}/
|
||||||
|
install -m644 src/libpiano/piano.h ${DESTDIR}/${INCDIR}/
|
Loading…
x
Reference in New Issue
Block a user