summaryrefslogtreecommitdiff
path: root/nt/gmake.defs
diff options
context:
space:
mode:
authorTed Zlatanov <tzz@lifelogs.com>2011-04-24 20:29:31 -0500
committerTed Zlatanov <tzz@lifelogs.com>2011-04-24 20:29:31 -0500
commit59ac0f030d13157f01899fdb0ed8e2bf4c78b842 (patch)
tree80a74a6808d549157da3abf22beceeecdbce7b81 /nt/gmake.defs
parent12b9c9b531276cee2ba9f6f5fca1ad82c070e430 (diff)
downloademacs-59ac0f030d13157f01899fdb0ed8e2bf4c78b842.tar.gz
Add GnuTLS support for W32.
* nt/configure.bat: New options --without-gnutls and --lib, new build variable USER_LIBS, automatically detect GnuTLS. Copies the PNG library setup with trivial modifications. * nt/INSTALL: Add instructions for GnuTLS support. * nt/gmake.defs: Prefix USER_LIBS with -l.
Diffstat (limited to 'nt/gmake.defs')
-rw-r--r--nt/gmake.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs
index 3dbb97ff65d..7af7fe4ab68 100644
--- a/nt/gmake.defs
+++ b/nt/gmake.defs
@@ -279,6 +279,10 @@ ifdef NOCYGWIN
NOCYGWIN = -mno-cygwin
endif
+ifdef USER_LIBS
+USER_LIBS := $(patsubst %,-l%,$(USER_LIBS))
+endif
+
ifeq "$(ARCH)" "i386"
ifdef NOOPT
ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN)