Skip to content

AIX: Fix executable ENABLE_EXPORTS in Makefile generators

Brad King requested to merge brad.king/cmake:aix-exe-exports into master

In !4308 (merged) the population of the <AIX_EXPORTS> rule variable placeholder was accidentally added to the device linking rule rather than the main linking rule. This caused our ExportImportList script on AIX, when called for executables with ENABLE_EXPORTS set, to be given an AIX_EXPORTS file name that does not exist, leading to a warning from the dump tool.

Move the population of the <AIX_EXPORTS> placeholder in the Makefile generators to the main link rule.

Issue: #20290 (closed)
Backport: release

Merge request reports