void-packages/srcpkgs/libt3key/patches/fix-cross.patch

12 lines
596 B
Diff

--- a/Makefile.in
+++ b/Makefile.in
@@ -83,7 +83,7 @@
$(INSTALL) -s src.util/t3keyc/t3keyc $(_bindir)
$(INSTALL) -d $(_datadir)/libt3key1
find src/database -type f | while read FILE ; do install -m0644 "$$FILE" $(_datadir)/libt3key1 ; \
- $(_bindir)/t3keyc -l $(_datadir)/libt3key1/"$${FILE##*/}" ; done
+ ${QEMU_USER_STATIC} $(_bindir)/t3keyc -l $(_datadir)/libt3key1/"$${FILE##*/}" ; done
$(INSTALL) -d $(_mandir)/man1
$(INSTALL) -m0644 man/t3keyc.1 $(_mandir)/man1
if [ -f src.util/t3learnkeys/t3learnkeys ] ; then $(INSTALL) -s src.util/t3learnkeys/t3learnkeys $(_bindir) ; \