mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
When GNU `ar` creates an archive with no symbols it has only an
empty header but no string table. On Solaris the OS-provided `ld`
fails in this case:
ld: elf error: file libfoo.a: elf_getarsym
Update our test to actually provide symbols from its archives.
7 lines
116 B
Fortran
7 lines
116 B
Fortran
MODULE libraryModuleA
|
|
USE libraryModuleB
|
|
CONTAINS
|
|
SUBROUTINE libA
|
|
END SUBROUTINE
|
|
END MODULE
|