diff lib/fuse2/fuse2.sh @ 817:0e6c54d47dfb

vanilla: fix many FHS issues While here, remove libtool files in a generic manner to avoid stale files.
author David Demelier <markand@malikania.fr>
date Wed, 21 Aug 2019 09:04:13 +0200
parents 59a2fa6992bc
children ddab65a5b3f5
line wrap: on
line diff
--- a/lib/fuse2/fuse2.sh	Tue Aug 20 20:15:00 2019 +0200
+++ b/lib/fuse2/fuse2.sh	Wed Aug 21 09:04:13 2019 +0200
@@ -39,6 +39,7 @@
 	CFLAGS="$CFLAGS" \
 	LDFLAGS="$LDFLAGS" \
 	LIBS="$LIBS" \
+	MOUNT_FUSE_PATH=/bin \
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -46,8 +47,8 @@
 		--enable-shared
 	make
 	make install DESTDIR=$DESTDIR
-	rm -f $DESTDIR/lib/libfuse.la
-	rm -f $DESTDIR/lib/libulockmgr.la
+	rm -rf $DESTDIR/etc/init.d
+	find $DESTDIR -type f -name "*.la" -delete
 
 	cd ..
 	rm -rf fuse-$PKGVERSION