Skip to content
Snippets Groups Projects
Commit f4a99a14 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

php extension: do not link rt in osx

parent 88f8e940
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,13 @@ if test "$PHP_GRPC" != "no"; then ...@@ -35,8 +35,13 @@ if test "$PHP_GRPC" != "no"; then
PHP_ADD_LIBRARY(dl,,GRPC_SHARED_LIBADD) PHP_ADD_LIBRARY(dl,,GRPC_SHARED_LIBADD)
PHP_ADD_LIBRARY(dl) PHP_ADD_LIBRARY(dl)
PHP_ADD_LIBRARY(rt,,GRPC_SHARED_LIBADD) case $host in
PHP_ADD_LIBRARY(rt) *darwin*) ;;
*)
PHP_ADD_LIBRARY(rt,,GRPC_SHARED_LIBADD)
PHP_ADD_LIBRARY(rt)
;;
esac
GRPC_LIBDIR=$GRPC_DIR/${GRPC_LIB_SUBDIR-lib} GRPC_LIBDIR=$GRPC_DIR/${GRPC_LIB_SUBDIR-lib}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment