Skip to content

Instantly share code, notes, and snippets.

@indivisible
Created August 3, 2014 07:48
Show Gist options
  • Select an option

  • Save indivisible/b98a923b74f4f21e3165 to your computer and use it in GitHub Desktop.

Select an option

Save indivisible/b98a923b74f4f21e3165 to your computer and use it in GitHub Desktop.
fix for the gnutls package in lachs0r's mingw build system
diff --git a/packages/gnutls.cmake b/packages/gnutls.cmake
index 35788ec..43b014e 100644
--- a/packages/gnutls.cmake
+++ b/packages/gnutls.cmake
@@ -15,7 +15,9 @@ ExternalProject_Add(gnutls
--without-p11-kit
--with-included-libtasn1
--enable-threads=win32
+ --enable-local-libopts
BUILD_COMMAND ${MAKE}
+ BUILD_IN_SOURCE 1
INSTALL_COMMAND ${MAKE} install
LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_INSTALL 1
)
@jeremiejig
Copy link
Copy Markdown

This fix actually help me build gnutls,
but only the --enable-local-libopts part.
Building on ubuntu 14.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment