From cec444b83c76dc9beba0519adc6595389c63ecc6 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 25 Nov 2009 18:24:09 +0000 Subject: [PATCH] Use hdepends command to generate header file dependancies for Darwin because Darwin has multiple -arch compiler flags. --- src/cap5/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/cap5/Makefile b/src/cap5/Makefile index f57468c3e..ec2330607 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -8,6 +8,14 @@ TOP=../.. include $(TOP)/configure/CONFIG + +# Use hdepends command (not GNU compiler flags) +# to generate header file dependancies for Darwin. +# Darwin has multiple -arch compiler flags. +ifeq ($(OS_CLASS),Darwin) +HDEPENDS_METHOD = CMD +endif + ifneq ($(findstring darwin,$(T_A)),) # Perl loadable libraries on Darwin have funny names LOADABLE_SHRLIB_PREFIX =