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 /ppdc/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 'ppdc/Makefile')
-rw-r--r-- | ppdc/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile index 1bf09dd6a..75a77d4e9 100644 --- a/ppdc/Makefile +++ b/ppdc/Makefile @@ -3,7 +3,7 @@ # # Makefile for the CUPS PPD Compiler. # -# Copyright 2007-2014 by Apple Inc. +# Copyright 2007-2015 by Apple Inc. # Copyright 2002-2006 by Easy Software Products. # # These coded instructions, statements, and computer programs are the @@ -176,6 +176,12 @@ install-libs: $(INSTALLSTATIC) $(RM) $(LIBDIR)/libcupsppdc.dylib; \ $(LN) $(LIBCUPSPPDC) $(LIBDIR)/libcupsppdc.dylib; \ fi + if test "x$(SDKROOT)" != "x"; then \ + $(INSTALL_DIR) $(SDKLIBDIR); \ + $(INSTALL_LIB) $(LIBCUPSPPDC) $(SDKLIBDIR); \ + $(RM) $(SDKLIBDIR)/libcupsppdc.dylib; \ + $(LN) $(LIBCUPSPPDC) $(SDKLIBDIR)/libcupsppdc.dylib; \ + fi if test "x$(SYMROOT)" != "x"; then \ $(INSTALL_DIR) $(SYMROOT); \ cp $(LIBCUPSPPDC) $(SYMROOT); \ |