Skip to content

Instantly share code, notes, and snippets.

@eerohele
Last active August 29, 2015 14:27
Show Gist options
  • Save eerohele/04fd5868e9b07fe8d5c8 to your computer and use it in GitHub Desktop.
Save eerohele/04fd5868e9b07fe8d5c8 to your computer and use it in GitHub Desktop.
Statically compiling lxml on Ubuntu 15.04 and Python 3.3.3
# Apply https://github.com/mxe/mxe/blob/7e231efd245996b886b501dad780761205ecf376/src/libiconv-1-fixes.patch
CFLAGS="$CFLAGS -fPIC" STATIC_DEPS=true pip install lxml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment