summaryrefslogtreecommitdiff
path: root/scheduler/Makefile
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2018-10-15 21:03:40 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2018-10-15 21:03:40 -0400
commitc8c5ec3b57f0ceb921947d7e4f055ad3d73a930f (patch)
tree8958400e1305d38f236838b6bf275793cec66299 /scheduler/Makefile
parent1a6abb3661642fdbf7640e523f0665a571b3a60d (diff)
downloadcups-c8c5ec3b57f0ceb921947d7e4f055ad3d73a930f.tar.gz
Search for codesign/true, use LDFLAGS for shared libraries (Issue #5411)
Diffstat (limited to 'scheduler/Makefile')
-rw-r--r--scheduler/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/scheduler/Makefile b/scheduler/Makefile
index 8c70e603e..3ba93aeec 100644
--- a/scheduler/Makefile
+++ b/scheduler/Makefile
@@ -435,7 +435,7 @@ cups-lpd: cups-lpd.o ../cups/$(LIBCUPS)
libcupsmime.so.1: $(LIBOBJS)
echo Linking $@...
- $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
+ $(DSO) $(ARCHFLAGS) $(LDFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
$(RM) `basename $@ .1`
$(LN) $@ `basename $@ .1`
@@ -446,7 +446,7 @@ libcupsmime.so.1: $(LIBOBJS)
libcupsmime.1.dylib: $(LIBOBJS) libcupsmime.exp
echo Linking $@...
- $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \
+ $(DSO) $(ARCHFLAGS) $(LDFLAGS) $(DSOFLAGS) -o $@ \
-install_name $(libdir)/$@ \
-current_version 1.0.0 \
-compatibility_version 1.0.0 \
@@ -463,7 +463,7 @@ libcupsmime.1.dylib: $(LIBOBJS) libcupsmime.exp
libcupsmime.la: $(LIBOBJS)
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 $(LIBS)