Overview
| Artifact ID: | a69fcb494307196ba72bd0fdb3934ff44f37071cabd5f6c929acb753a6178863 |
|---|---|
| Ticket: | f20bee173b6698084299a75d68f2aa384e68e78c
configure script using tclconfig doesn't honor LDFLAGS on configure run |
| User & Date: | stephanm on 2020-02-04 18:25:47 |
Changes
- icomment:
After some debugging, I determined that cross-compiling for windows using mingw seems to be the culprit. When SHLIB_LD gets set in TEA_CONFIG_CFLAGS, LDFLAGS aren't used as in e.g. the linux case. So I basically used the linux variant but I had to patch TEA_ENABLE_SYMBOLS to use LDFLAGS for windows + gcc. Attached is a really small patch that at least fixes my example from above. It would be nice if it could be integrated into tclconfig. Thanks you!
- login: "stephanm"
- mimetype: "text/plain"