From 543507bea212d99ccad4470e24edf789da1567bc Mon Sep 17 00:00:00 2001 From: msweet Date: Fri, 6 Feb 2015 21:33:50 +0000 Subject: Add support for SDKROOT on OS X. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12492 a1ca3aef-8c08-0410-bb20-df032aa958be --- cups/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cups/Makefile') diff --git a/cups/Makefile b/cups/Makefile index 7a899de0a..0d6aa6a04 100644 --- a/cups/Makefile +++ b/cups/Makefile @@ -3,7 +3,7 @@ # # API library Makefile for CUPS. # -# Copyright 2007-2014 by Apple Inc. +# Copyright 2007-2015 by Apple Inc. # Copyright 1997-2006 by Easy Software Products, all rights reserved. # # These coded instructions, statements, and computer programs are the @@ -269,6 +269,12 @@ install-libs: $(INSTALLSTATIC) $(RM) $(LIBDIR)/libcups.dylib; \ $(LN) $(LIBCUPS) $(LIBDIR)/libcups.dylib; \ fi + if test "x$(SDKROOT)" != "x"; then \ + $(INSTALL_DIR) $(SDKLIBDIR); \ + $(INSTALL_LIB) $(LIBCUPS) $(SDKLIBDIR); \ + $(RM) $(SDKLIBDIR)/libcups.dylib; \ + $(LN) $(LIBCUPS) $(SDKLIBDIR)/libcups.dylib; \ + fi if test "x$(SYMROOT)" != "x"; then \ $(INSTALL_DIR) $(SYMROOT); \ cp $(LIBCUPS) $(SYMROOT); \ -- cgit v1.2.1