Skip to content

Instantly share code, notes, and snippets.

@valgur
Created December 8, 2023 12:52
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 valgur/d0a66bc4e5ecd90248c529a7484f0238 to your computer and use it in GitHub Desktop.
Save valgur/d0a66bc4e5ecd90248c529a7484f0238 to your computer and use it in GitHub Desktop.
# For debugging any ./configure linker errors
replace_in_file(self, os.path.join(self.source_folder, "configure"),
"ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'",
"ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS -Bd | tee -a link.log >&5'")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment