Passing the src and build directories from Make to CMake

This commit is contained in:
Damian Vicino
2022-02-14 16:23:40 -05:00
parent 3942776a8c
commit e498329a53
2 changed files with 24 additions and 17 deletions
+2 -2
View File
@@ -15,9 +15,9 @@ if test "$PHP_AWSCRT" != "no"; then
else
platform_tls_libs="-ls2n -lcrypto"
fi
CRT_LIBPATHS="-L${cwd}/build/install/lib -L${cwd}/build/install/lib64"
CRT_LIBPATHS="-L${cwd}/install/lib -L${cwd}/install/lib64"
CRT_LIBS="-laws-crt-ffi -laws-c-auth -laws-c-http -laws-c-io -laws-c-cal -laws-c-compression -laws-checksums -laws-c-common ${platform_tls_libs}"
PHP_ADD_INCLUDE(${cwd}/build/install/include)
PHP_ADD_INCLUDE(${cwd}/install/include)
PHP_EVAL_LIBLINE([$CRT_LIBPATHS $CRT_LIBS], AWSCRT_SHARED_LIBADD)
# Shoves the linker line into the Makefile