From 4f92c02c93dc175733341b033e603fb40f6b298f Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Wed, 18 Sep 2024 21:48:29 +0100 Subject: [PATCH] Added a composer.json to enable support for PIE --- composer.json | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..fd07afc --- /dev/null +++ b/composer.json @@ -0,0 +1,46 @@ +{ + "name": "krakjoe/apcu", + "type": "php-ext", + "license": "PHP-3.01", + "description": "APCu - APC User Cache", + "require": { + "php": ">= 7.0.0" + }, + "php-ext": { + "extension-name": "apcu", + "configure-options": [ + { + "name": "enable-apcu", + "description": "Enable APCu support" + }, + { + "name": "disable-apcu-rwlocks", + "description": "Disable rwlocks in APCu" + }, + { + "name": "enable-apcu-debug", + "description": "Enable APCu debugging" + }, + { + "name": "enable-apcu-clear-signal", + "description": "Enable SIGUSR1 clearing handler" + }, + { + "name": "disable-apcu-mmap", + "description": "Disable mmap, falls back on shm" + }, + { + "name": "enable-apcu-spinlocks", + "description": "Use spinlocks before flocks" + }, + { + "name": "disable-valgrind-checks", + "description": "Disable Valgrind-based memory checks" + }, + { + "name": "enable-coverage", + "description": "Include code coverage symbols (DEVELOPERS ONLY!!)" + } + ] + } +}