diff options
author | Mike Gran <spk121@yahoo.com> | 2021-03-13 09:09:30 -0800 |
---|---|---|
committer | Mike Gran <spk121@yahoo.com> | 2021-03-13 09:09:30 -0800 |
commit | 5a1e78a27817d339d80f28515bd8a57c7eb6b65e (patch) | |
tree | f58adbdfa1f3b6b1de9241efd1cfc27e93e0ca50 /lib | |
parent | db9725fd02d49effaa9e40413b507cfd1804377e (diff) | |
download | guile-5a1e78a27817d339d80f28515bd8a57c7eb6b65e.tar.gz |
On Cygwin, 'lib' DLLs use 'cyg' prefix
When using automake and libtool to build DLLs on Cygwin, libtool
will rename libXXX to cygXXX. 'load-foreign-library' should
emulate libltdl behavior and search for DLLs using that convention.
* module/system/foreign-library.scm (lib->cyg): new helper function
(load-foreign-library): add rename-on-cygwin? option to rename
libraries using Cygwin semantics
* test-suite/tests/foreign.test: new test section 'lib->cyg'
* doc/ref/api-foreign.text: document new rename-on-cygwin? option
for load-foreign-library
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions