Skip to content

fix: use '-module -avoid-version' when compiling TCL packages

Matthew Fernandez requested to merge smattr/gitlab-1285 into main

Quoting from #1285 (closed):

They are runtime loadable (dlopen, or equivalent, from tcl program, via 'load') rather than shared libraries for dynamic linking by others. On OS X, these two concepts have different extensions (.so vs .dylib). It's confusing when a runtime-loadable module has a dynamic-linker extension. In commit 40123aed, the -module flag was added to LDFLAGS in tclpkg/gv/Makefile.am, which fixes libgv_tcl. Could the same change be applied to the other tclpkg/*/Makefile.am LDFLAGS?

Gitlab: fixes #1285 (closed)

Suggested-by: Daniel Macks

Merge request reports