From 0a0ce842507ea12eeaa33c302d60538dd591b7c2 Mon Sep 17 00:00:00 2001 From: heyanlong Date: Sun, 23 Jun 2019 11:24:21 +0800 Subject: [PATCH] mv base64 --- src/b64.h => b64.h | 0 src/components.h => components.h | 0 config.m4 | 5 ++--- src/decode.c => decode.c | 0 src/encode.c => encode.c | 0 skywalking.c | 2 +- 6 files changed, 3 insertions(+), 4 deletions(-) rename src/b64.h => b64.h (100%) rename src/components.h => components.h (100%) rename src/decode.c => decode.c (100%) rename src/encode.c => encode.c (100%) diff --git a/src/b64.h b/b64.h similarity index 100% rename from src/b64.h rename to b64.h diff --git a/src/components.h b/components.h similarity index 100% rename from src/components.h rename to components.h diff --git a/config.m4 b/config.m4 index c0d1cb7..fd05022 100644 --- a/config.m4 +++ b/config.m4 @@ -2,10 +2,9 @@ PHP_ARG_ENABLE(skywalking, whether to enable skywalking support, [ --enable-skywalking Enable skywalking support]) if test "$PHP_SKYWALKING" != "no"; then - PHP_ADD_INCLUDE("src") PHP_NEW_EXTENSION(skywalking, \ skywalking.c \ - src/decode.c \ - src/encode.c \ + decode.c \ + encode.c \ , $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) fi diff --git a/src/decode.c b/decode.c similarity index 100% rename from src/decode.c rename to decode.c diff --git a/src/encode.c b/encode.c similarity index 100% rename from src/encode.c rename to encode.c diff --git a/skywalking.c b/skywalking.c index f34b247..ffbe89e 100644 --- a/skywalking.c +++ b/skywalking.c @@ -30,7 +30,7 @@ #include "php_ini.h" #include "ext/standard/info.h" #include "ext/standard/php_string.h" -#include "src/components.h" +#include "components.h" #include "php_skywalking.h" #include "ext/standard/url.h" /* for php_url */ #include "ext/standard/php_var.h" -- GitLab