diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-15 21:03:40 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-15 21:03:40 -0400 |
commit | c8c5ec3b57f0ceb921947d7e4f055ad3d73a930f (patch) | |
tree | 8958400e1305d38f236838b6bf275793cec66299 /ppdc/Makefile | |
parent | 1a6abb3661642fdbf7640e523f0665a571b3a60d (diff) | |
download | cups-c8c5ec3b57f0ceb921947d7e4f055ad3d73a930f.tar.gz |
Search for codesign/true, use LDFLAGS for shared libraries (Issue #5411)
Diffstat (limited to 'ppdc/Makefile')
-rw-r--r-- | ppdc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile index bed5e6313..4174e72e7 100644 --- a/ppdc/Makefile +++ b/ppdc/Makefile @@ -327,7 +327,7 @@ testcatalog: testcatalog.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) libcupsppdc.so.1: $(LIBOBJS) ../cups/$(LIBCUPS) echo Linking $@... - $(DSOXX) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LINKCUPS) + $(DSOXX) $(ARCHFLAGS) $(LDFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LINKCUPS) $(RM) `basename $@ .1` $(LN) $@ `basename $@ .1` @@ -340,7 +340,7 @@ libcupsppdc.1.dylib: $(LIBOBJS) ../cups/$(LIBCUPS) echo Creating export list for $@... nm -gm $(LIBOBJS) | grep "__text" | grep -v weak | awk '{print $$NF}' | sort >t.exp echo Linking $@... - $(DSOXX) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \ + $(DSOXX) $(ARCHFLAGS) $(LDFLAGS) $(DSOFLAGS) -o $@ \ -install_name $(libdir)/$@ \ -current_version 1.0.0 \ -compatibility_version 1.0.0 \ @@ -357,7 +357,7 @@ libcupsppdc.1.dylib: $(LIBOBJS) ../cups/$(LIBCUPS) libcupsppdc.la: $(LIBOBJS) ../cups/$(LIBCUPS) echo Linking $@... - $(LD_CC) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) -rpath $(LIBDIR) \ + $(LD_CC) $(ARCHFLAGS) $(LDFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS:.o=.lo) -rpath $(LIBDIR) \ -version-info 1:0 $(LINKCUPS) |