Skip to content

Instantly share code, notes, and snippets.

@Gnurou
Created October 30, 2013 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gnurou/7227768 to your computer and use it in GitHub Desktop.
Save Gnurou/7227768 to your computer and use it in GitHub Desktop.
How to make libtool produce static binaries even though it doesn't want to
$ ./configure --host=arm-none-linux-gnueabi
$ LDFLAGS=-all-static make
# -all-static is not recognized by GCC but will be processed by libtool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment