mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 20:21:41 -06:00
Tests: Add symbols to FortranModules static libraries
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.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
MODULE libraryModuleA
|
||||
USE libraryModuleB
|
||||
CONTAINS
|
||||
SUBROUTINE libA
|
||||
END SUBROUTINE
|
||||
END MODULE
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
MODULE libraryModuleB
|
||||
CONTAINS
|
||||
SUBROUTINE libB
|
||||
END SUBROUTINE
|
||||
END MODULE
|
||||
|
||||
@@ -1,2 +1,5 @@
|
||||
MODULE subdirModuleA
|
||||
CONTAINS
|
||||
SUBROUTINE subdirLibA
|
||||
END SUBROUTINE
|
||||
END MODULE
|
||||
|
||||
Reference in New Issue
Block a user