diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2012-06-26 08:15:40 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2012-06-26 08:15:40 +0000 |
| commit | 835ad6b98bbca64925985a859de87ca123174b2e (patch) | |
| tree | e8eeb4c5850d281ae8c55c992b2e11bae7aad150 | |
| parent | c6d5225e5b714be7983a9edcdd1c301b3b540663 (diff) | |
| download | nginx-835ad6b98bbca64925985a859de87ca123174b2e.tar.gz nginx-835ad6b98bbca64925985a859de87ca123174b2e.tar.bz2 | |
Added code to look up Google perftools in /opt/local/, for MacPorts.
| -rw-r--r-- | auto/lib/google-perftools/conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/auto/lib/google-perftools/conf b/auto/lib/google-perftools/conf index 398ddd05e..7a9de3002 100644 --- a/auto/lib/google-perftools/conf +++ b/auto/lib/google-perftools/conf @@ -29,6 +29,22 @@ if [ $ngx_found = no ]; then fi +if [ $ngx_found = no ]; then + + # MacPorts + + ngx_feature="Google perftools in /opt/local/" + + if [ $NGX_RPATH = YES ]; then + ngx_feature_libs="-R/opt/local/lib -L/opt/local/lib -lprofiler" + else + ngx_feature_libs="-L/opt/local/lib -lprofiler" + fi + + . auto/feature +fi + + if [ $ngx_found = yes ]; then CORE_LIBS="$CORE_LIBS $ngx_feature_libs" |
