Leont / extutils-hascompiler

Check for the presence of a compiler
5 stars 3 forks source link

Static perls #6

Open Leont opened 9 years ago

Leont commented 9 years ago

Currently, we're not handling static perls at all. We probably should, even if few people use them. Difficulty is that actually handling this is complicated and not well-understood, and linking is quite expensive.

I'd suggest only checking compilation, and assuming the linking step will also work. It's less thorough than what we're doing in dynamic linking, alas. Alternatively I could reuse my old can_compile_executable for this.

Leont commented 6 years ago

I'd suggest only checking compilation, and assuming the linking step will also work. It's less thorough than what we're doing in dynamic linking, alas. Alternatively I could reuse my old can_compile_executable for this.

Turns out we may have to add linking to the test after all, since apparently it can matter.