[PECL-CVS] [pecl-encryption-mcrypt] make-workflows-work: Added a composer.json to enable support for PIE

[email protected] (James Titcumb via Derick Rethans)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: James Titcumb (asgrim)
Committer: Derick Rethans (derickr)
Date: 2025-08-05T09:47:35+01:00

Commit: https://github.com/php/pecl-encryption-mcrypt/commit/6b01a1f1a7b43837eb607b9c50b2030fa95484b6
Raw diff: https://github.com/php/pecl-encryption-mcrypt/commit/6b01a1f1a7b43837eb607b9c50b2030fa95484b6.diff

Added a composer.json to enable support for PIE

Changed paths:
  M  composer.json


Diff:

diff --git a/composer.json b/composer.json
index 236acbc..767f666 100644
--- a/composer.json
+++ b/composer.json
@@ -4,15 +4,16 @@
     "license": "PHP-3.01",
     "description": "Bindings for the libmcrypt library.",
     "require": {
-        "php": ">=7.2"
+        "php": ">= 7.2.0, <= 8.6.0"
     },
     "php-ext": {
         "priority": 20,
+        "extension-name": "mcrypt",
         "configure-options": [
             {
                 "name": "with-mcrypt",
-                "description": "libmcrypt prefix?",
-                "needs-value": false
+                "description": "Include mcrypt support",
+                "needs-value": true
             }
         ]
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.