Skip to content

Instantly share code, notes, and snippets.

@alayek
Created March 8, 2017 10:32
Show Gist options
  • Save alayek/5c865a072287174e6813e9824a71be44 to your computer and use it in GitHub Desktop.
Save alayek/5c865a072287174e6813e9824a71be44 to your computer and use it in GitHub Desktop.
Check libraries before LFS
#!/bin/bash
for lib in lib{gmp,mpfr,mpc}.la; do
echo $lib: $(if find /usr/lib* -name $lib|
grep -q $lib;then :;else echo not;fi) found
done
unset lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment