Skip to content

Commit

Permalink
Workspaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Dec 6, 2024
1 parent aae9534 commit e08a75c
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 40 deletions.
96 changes: 58 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,26 @@
"php-wasm-zlib": "0.0.9-alpha-23",
"vrzno": "0.0.9-alpha-23"
},
"workspaces": [
"packages/dom",
"packages/gd",
"packages/iconv",
"packages/intl",
"packages/libxml",
"packages/libyaml",
"packages/libzip",
"packages/mbstring",
"packages/openssl",
"packages/pdo-pglite",
"packages/pdo-cfd1",
"packages/phar",
"packages/simplexml",
"packages/sqlite",
"packages/tidy",
"packages/vrzno",
"packages/xml",
"packages/zlib"
],
"contributors": [
{
"name": "Sean Morris",
Expand Down
3 changes: 1 addition & 2 deletions packages/phar/static.mak
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ third_party/php${PHP_VERSION}-phar/config.m4: third_party/php${PHP_VERSION}-src/
packages/phar/php${PHP_VERSION}-phar.so: ${PHPIZE} third_party/php${PHP_VERSION}-phar/config.m4
@ echo -e "\e[33;4mBuilding php-phar\e[0m"
${DOCKER_RUN_IN_EXT_PHAR} chmod +x /src/third_party/php${PHP_VERSION}-src/scripts/phpize;
-@${DOCKER_RUN_IN_EXT_PHAR} /src/third_party/php${PHP_VERSION}-src/scripts/phpize;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#test -f "$$ac_f"#test -f "./$$ac_f"#' configure
${DOCKER_RUN_IN_EXT_PHAR} /src/third_party/php${PHP_VERSION}-src/scripts/phpize;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's|#define PHAR_MAIN 1|#define PHAR_MAIN 1\n#include "config.h"|g' phar.c;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#test -f "$$ac_f"#test -f "./$$ac_f"#' configure
${DOCKER_RUN_IN_EXT_PHAR} emconfigure ./configure PKG_CONFIG_PATH=${PKG_CONFIG_PATH} --prefix='/src/lib/php${PHP_VERSION}' --with-openssl=/src/lib --with-php-config=/src/lib/php${PHP_VERSION}/bin/php-config --cache-file=/tmp/config-cache;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#-shared#-static#g' Makefile;
${DOCKER_RUN_IN_EXT_PHAR} sed -i 's#-export-dynamic##g' Makefile;
Expand Down

0 comments on commit e08a75c

Please sign in to comment.