diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-03-19 16:36:24 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-03-19 16:36:24 -0400 |
commit | 21609267ec035f29a82678b1950e3fa74bedf6a9 (patch) | |
tree | f696c7eec49050ce2e9b369aa917a70e1b1adf4e /berkeley | |
parent | 49b3fb63543d76384442b8c2c3b4934b0be2935e (diff) | |
download | cups-21609267ec035f29a82678b1950e3fa74bedf6a9.tar.gz |
Use ALL_DSOFLAGS and ALL_LDFLAGS to avoid issues with some build frameworks.
Diffstat (limited to 'berkeley')
-rw-r--r-- | berkeley/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/berkeley/Makefile b/berkeley/Makefile index 73aa22167..9e27c7114 100644 --- a/berkeley/Makefile +++ b/berkeley/Makefile @@ -1,7 +1,7 @@ # # Berkeley commands makefile for CUPS. # -# Copyright 2007-2018 by Apple Inc. +# Copyright 2007-2019 by Apple Inc. # Copyright 1997-2006 by Easy Software Products, all rights reserved. # # Licensed under Apache License v2.0. See the file "LICENSE" for more information. @@ -120,7 +120,7 @@ uninstall: lpc: lpc.o ../cups/$(LIBCUPS) echo Linking $@... - $(LD_CC) $(LDFLAGS) -o lpc lpc.o $(LIBS) + $(LD_CC) $(ALL_LDFLAGS) -o lpc lpc.o $(LIBS) $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ @@ -130,7 +130,7 @@ lpc: lpc.o ../cups/$(LIBCUPS) lpq: lpq.o ../cups/$(LIBCUPS) echo Linking $@... - $(LD_CC) $(LDFLAGS) -o lpq lpq.o $(LIBS) + $(LD_CC) $(ALL_LDFLAGS) -o lpq lpq.o $(LIBS) $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ @@ -140,7 +140,7 @@ lpq: lpq.o ../cups/$(LIBCUPS) lpr: lpr.o ../cups/$(LIBCUPS) echo Linking $@... - $(LD_CC) $(LDFLAGS) -o lpr lpr.o $(LIBS) + $(LD_CC) $(ALL_LDFLAGS) -o lpr lpr.o $(LIBS) $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ @@ -150,7 +150,7 @@ lpr: lpr.o ../cups/$(LIBCUPS) lprm: lprm.o ../cups/$(LIBCUPS) echo Linking $@... - $(LD_CC) $(LDFLAGS) -o lprm lprm.o $(LIBS) + $(LD_CC) $(ALL_LDFLAGS) -o lprm lprm.o $(LIBS) $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ |