mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
191d34825e
Add two scaffold files to (attempt) to make a tclsh compiled -static work.
10 lines
237 B
C
10 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
|
|
|