diff options
author | Didier Raboud <odyx@debian.org> | 2012-10-25 21:09:25 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2012-10-25 21:09:25 +0200 |
commit | 6fd17d1b328ea9230585f7ad1e3c478343157220 (patch) | |
tree | 6cafd8c68943588e60880c5a2c969719b2a6637c /backend | |
parent | 81ab83f382660bc7980ae954725c4ebf28764b03 (diff) | |
download | cups-6fd17d1b328ea9230585f7ad1e3c478343157220.tar.gz |
Imported Upstream version 1.6.1upstream/1.6.1
Diffstat (limited to 'backend')
-rw-r--r-- | backend/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/backend/Makefile b/backend/Makefile index e55827df..a8dc8596 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -1,5 +1,5 @@ # -# "$Id: Makefile 10402 2012-04-12 22:54:51Z mike $" +# "$Id: Makefile 10554 2012-07-27 17:57:49Z mike $" # # Backend makefile for CUPS. # @@ -128,7 +128,7 @@ install-exec: $(INSTALLXPC) $(RM) $(SERVERBIN)/backend/$$file; \ $(LN) ipp $(SERVERBIN)/backend/$$file; \ done - if test "x$(DNSSD_BACKEND)" != x; then \ + if test "x$(DNSSD_BACKEND)" != x -a `uname` = Darwin; then \ $(RM) $(SERVERBIN)/backend/mdns; \ $(LN) $(DNSSD_BACKEND) $(SERVERBIN)/backend/mdns; \ fi @@ -232,8 +232,10 @@ libbackend.a: $(LIBOBJS) dnssd: dnssd.o ../cups/$(LIBCUPS) libbackend.a echo Linking $@... $(CC) $(LDFLAGS) -o dnssd dnssd.o libbackend.a $(LIBS) - $(RM) mdns - $(LN) dnssd mdns + if test `uname` = Darwin; then \ + $(RM) mdns; \ + $(LN) dnssd mdns; \ + fi # @@ -293,5 +295,5 @@ include Dependencies # -# End of "$Id: Makefile 10402 2012-04-12 22:54:51Z mike $". +# End of "$Id: Makefile 10554 2012-07-27 17:57:49Z mike $". # |