summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-11 06:59:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-11 06:59:13 (GMT)
commit4427df1ae86acb1ff37c450bdf3e66e83c7917bd (patch)
tree116454fc385887a3957cd88c45da03866e29c9b3 /unix
parentd1e77398a88c782621e53c1697ab594399d0fa3b (diff)
parent19c1bb0cf64575d065c510cd1ceefba34fc51eef (diff)
downloadtcl-4427df1ae86acb1ff37c450bdf3e66e83c7917bd.zip
tcl-4427df1ae86acb1ff37c450bdf3e66e83c7917bd.tar.gz
tcl-4427df1ae86acb1ff37c450bdf3e66e83c7917bd.tar.bz2
protect all usage of dladdr() with !defined(NO_DLFCN_H)
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 79dad02..e710b55 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -1520,7 +1520,7 @@ tclZlib.o: $(GENERIC_DIR)/tclZlib.c
$(CC) -c $(CC_SWITCHES) $(ZLIB_INCLUDE) $(GENERIC_DIR)/tclZlib.c
tclZipfs.o: $(GENERIC_DIR)/tclZipfs.c
- $(CC) -c $(CC_SWITCHES) \
+ $(CC) -c $(CC_SWITCHES) -D_GNU_SOURCE \
-DCFG_RUNTIME_DLLFILE="\"$(TCL_LIB_FILE)\"" \
-DCFG_RUNTIME_LIBDIR="\"$(libdir)\"" \
-I$(ZLIB_DIR) -I$(ZLIB_DIR)/contrib/minizip \