diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/nettle/subdirs.patch | |
Diffstat (limited to 'vcpkg/ports/nettle/subdirs.patch')
| -rw-r--r-- | vcpkg/ports/nettle/subdirs.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/vcpkg/ports/nettle/subdirs.patch b/vcpkg/ports/nettle/subdirs.patch new file mode 100644 index 0000000..98dd395 --- /dev/null +++ b/vcpkg/ports/nettle/subdirs.patch @@ -0,0 +1,32 @@ +diff --git a/Makefile.in b/Makefile.in +index 2bf7f1e8..3e0ba565 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -19,7 +19,7 @@ OPT_NETTLE_SOURCES = @OPT_NETTLE_SOURCES@ + + FAT_TEST_LIST = @FAT_TEST_LIST@ + +-SUBDIRS = tools testsuite examples ++SUBDIRS = @IF_TOOLS@ tools + + include config.make + +diff --git a/configure.ac b/configure.ac +index 4f27e663..a72b732b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -24,6 +24,14 @@ AC_SUBST([MINOR_VERSION]) + + AC_CANONICAL_HOST + ++AC_ARG_ENABLE(tools,[]) ++if test "x$enable_tools" = xyes ; then ++ IF_TOOLS='' ++else ++ IF_TOOLS='#' ++fi ++AC_SUBST([IF_TOOLS]) ++ + # Command line options + AC_ARG_WITH(include-path, + AS_HELP_STRING([--with-include-path], [A colon-separated list of directories to search for include files]),, |