diff options
| author | StevenWdV <stevenwdv@gmail.com> | 2022-02-09 13:18:09 +0100 |
|---|---|---|
| committer | StevenWdV <stevenwdv@gmail.com> | 2022-02-09 13:18:09 +0100 |
| commit | ac564204f6d4441eaa79ec08ec7a91e99bdb9a15 (patch) | |
| tree | 3a1faf92e6e5b2b7726f872836a24e694be66a47 /wrappers/php/Makefile | |
| parent | d439d1e72cf4a90b26c58dd26fd274a71563c3b8 (diff) | |
Cleanup, update indirect Go packages, support specifying list of wrappers to `test-wrappers`
Diffstat (limited to 'wrappers/php/Makefile')
| -rw-r--r-- | wrappers/php/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wrappers/php/Makefile b/wrappers/php/Makefile index f24eee7..758cfe3 100644 --- a/wrappers/php/Makefile +++ b/wrappers/php/Makefile @@ -9,7 +9,7 @@ export PATH := $(abspath vendor/bin):$(PATH) ifeq ($(COPY_LIB),1) COPY_LIB_DIR ?= lib endif -ifneq ($(COPY_LIB_DIR),) +ifdef COPY_LIB_DIR override COPY_LIB_DIR := $(COPY_LIB_DIR)/ endif @@ -27,7 +27,7 @@ install-header: .try-build-lib -e 's/^/#define FFI_LIB "$(subst /,\/,$(COPY_LIB_DIR))$(LIB_FILE)"\n\n/' \ \ "$(EXPORTS_LIB_SUBFOLDER_PATH)/$(LIB_NAME).h" >src/headers/$(LIB_NAME)_php.h -ifneq ($(COPY_LIB_DIR),) +ifdef COPY_LIB_DIR install "$(EXPORTS_LIB_SUBFOLDER_PATH)/$(LIB_FILE)" -Dt "$(COPY_LIB_DIR)" endif |
