[php-src] PR #13822: Fix linking library for POSIX shared memory functions

From: Date: Thu, 28 Mar 2024 00:20:26 +0000
Subject: [php-src] PR #13822: Fix linking library for POSIX shared memory functions
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25558@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13822 Author: petk I'll recheck this in the morning but I think I got this right. The Autoconf CS is horrible yet it is something like this: The POSIX shared memory object operations functions (shm_open, shm_unlink...) are in: * C library on most systems (newer Linux, Solaris 11.4, illumos, BSD*, macOS, Haiku R1, etc.) * real-time (rt) library on older Linux distributions and Solaris <= 10. * root library on Haiku nightly Previous check always added additional rt or root library to global LIBS and rt to OPCACHE_SHARED_LIBADD. Now, the library containing shm_open is linked as needed to the always shared opcache extension. This also removes unused HAVE_SHM_OPEN and HAVE_LIBROOT symbols.

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