From 89777707c40eb97aeba3156802cfab10c24c9539 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 17 Nov 2014 10:56:28 -0600 Subject: [PATCH] cap5: Minor build change on Darwin --- src/cap5/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/cap5/Makefile b/src/cap5/Makefile index 4707c1621..e015ff825 100644 --- a/src/cap5/Makefile +++ b/src/cap5/Makefile @@ -9,17 +9,16 @@ 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. +# Special settings for Darwin: ifeq ($(OS_CLASS),Darwin) -HDEPENDS_METHOD = CMD -endif + # Use hdepends command (not GNU compiler flags) + # to generate header file dependancies for Darwin. + # Darwin has multiple -arch compiler flags. + HDEPENDS_METHOD = CMD -ifneq ($(findstring darwin,$(T_A)),) # Perl loadable libraries on Darwin have funny names LOADABLE_SHRLIB_PREFIX = - LOADABLE_SHRLIB_SUFFIX = .bundle + LOADABLE_SHRLIB_SUFFIX = .$(shell $(PERL) ../perlConfig.pl dlext) endif PERL_VERSION = $(shell $(PERL) ../perlConfig.pl version)