]> git.draconx.ca Git - dxcommon.git/commit
Add helper macro for libtool patches.
authorNick Bowler <nbowler@draconx.ca>
Thu, 29 Feb 2024 04:08:12 +0000 (23:08 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 29 Feb 2024 04:08:12 +0000 (23:08 -0500)
commite2f2206552cd2153641c17908d938930fb15d3d4
tree61e7e8d13c9fd36ead3c0c165c8862dd6a706d94
parentb6ec120435a070a28eafe0b3e686ef2ac9b0f042
Add helper macro for libtool patches.

Monkey patch libtool to workaround a problem discovered when using the
VAX C compiler.  It seems that read-only static data initialized with
function pointers can lead to trouble with this compiler.

It is obviously not the only compiler with a problem like this, since
libtool already similar exceptions to avoid "const" on other systems,
we just need to add another case.
m4/lt-patches.m4 [new file with mode: 0644]