[php-src] PR #12356: build/php.m4: Add `PHP_ADD_STATIC_LIBRARY` macro

From: Date: Wed, 04 Oct 2023 01:53:54 +0000
Subject: [php-src] PR #12356: build/php.m4: Add `PHP_ADD_STATIC_LIBRARY` macro
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23780@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12356 Author: adsr Occasionally it's useful to bundle a static library into a PHP extension. I didn't see a clear way to do this, so I added this macro. If there's already an easy way to do this, apologies, and also I'm curious how. Downsides: - Invokes ar to test if the param at least looks like a static lib - libtool outputs a portability warning even if the static lib objects are compiled position-independent. I think that's safe to ignore but I may be wrong. Works on my machine.

« previous php.git-pulls (#23780) next »