diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-02-06 21:33:50 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2015-02-06 21:33:50 +0000 |
commit | 543507bea212d99ccad4470e24edf789da1567bc (patch) | |
tree | b3bbc914737b6bf2f43bfa452f2d56a9a1ebeec1 /cups/Makefile | |
parent | 2cf627f0292a3cdc903310af744db419163dd1d3 (diff) | |
download | cups-543507bea212d99ccad4470e24edf789da1567bc.tar.gz |
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
Diffstat (limited to 'cups/Makefile')
-rw-r--r-- | cups/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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); \ |