mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
191d34825e
Add two scaffold files to (attempt) to make a tclsh compiled -static work.
11 lines
237 B
C
11 lines
237 B
C
/*
|
|
* XXX: We don't have dlopen & friends in statically linked programs
|
|
* XXX: so we avoid using them.
|
|
*/
|
|
#ifdef PIC
|
|
#include "../../../contrib/tcl/generic/tclLoad.c"
|
|
#else
|
|
#include "../../../contrib/tcl/generic/tclLoadNone.c"
|
|
#endif
|
|
|