[PECL-CVS] [pecl-file_formats-yaml] php7: Added a composer.json to enable support for PIE
[email protected] (James Titcumb via Bryan Davis)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: James Titcumb (asgrim)
Committer: Bryan Davis (bd808)
Date: 2025-10-07T09:13:25-06:00
Commit: https://github.com/php/pecl-file_formats-yaml/commit/471fcf5ce7263013f339ba5716925282b7c1e931
Raw diff: https://github.com/php/pecl-file_formats-yaml/commit/471fcf5ce7263013f339ba5716925282b7c1e931.diff
Added a composer.json to enable support for PIE
Changed paths:
A composer.json
Diff:
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..500fa9f
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,19 @@
+{
+ "name": "php/yaml",
+ "type": "php-ext",
+ "license": "MIT",
+ "description": "YAML-1.1 parser and emitter",
+ "require": {
+ "php": ">= 7.1.0"
+ },
+ "php-ext": {
+ "extension-name": "yaml",
+ "configure-options": [
+ {
+ "name": "with-yaml",
+ "description": "Enable LibYAML support. DIR is the path to LibYAML install prefix",
+ "needs-value": true
+ }
+ ]
+ }
+}