Follow-up Comment #2, bug #65948 (group simulavr): This bug only happens when -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON is passed to cmake, which I was doing.
The attached patch fixes this for "make", however additional similar fixes
would be needed for "make check" to work; the simulavr executable is called
from several places in the test suite.
This patch always sets DYLD_LIBRARY_PATH, even though it is only needed on
Apple platforms. Having this variable set on other platforms is useless but
should be harmless. It's probably possible to code it so that it is only added
on Apple platforms, perhaps using a generator expression like
"$<BOOL:${APPLE}>".
(file #57963)
_______________________________________________________
Additional Item Attachment:
Name: DYLD_LIBRARY_PATH.patch Size: 902B
<https://file.savannah.nongnu.org/file/DYLD_LIBRARY_PATH.patch?file_id=57963>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.nongnu.org/source/savane-a7ba5c45d6a575f8aa486208476de1878950f160.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?65948>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
signature.asc
Description: PGP signature
