qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Steven Noonan <steven@uplinklabs.net>
To: qemu-devel@nongnu.org
Cc: Steven Noonan <steven@uplinklabs.net>
Subject: [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points
Date: Wed, 22 Apr 2009 11:45:36 -0700	[thread overview]
Message-ID: <1240425936-82453-1-git-send-email-steven@uplinklabs.net> (raw)

Users of MacPorts will experience this problem if they install
gnutls through 'port install'. The object files vnc-tls.o and
vnc-auth-vencrypt.o aren't compiled with the right flags and
end up causing compiler errors about missing headers, etc. This
patch corrects this by adding the flags to the objects which
complain without them.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
---
 Makefile |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index ed887de..fb4cb4f 100644
--- a/Makefile
+++ b/Makefile
@@ -194,14 +194,20 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h keymaps.h
 
 vnc.o: vnc.c vnc.h vnc_keysym.h vnchextile.h d3des.c d3des.h acl.h
 
-vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS)
+vnc.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
 
 vnc-tls.o: vnc-tls.c vnc.h
 
+vnc-tls.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-vencrypt.o: vnc-auth-vencrypt.c vnc.h
 
+vnc-auth-vencrypt.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 vnc-auth-sasl.o: vnc-auth-sasl.c vnc.h
 
+vnc-auth-sasl.o: CFLAGS += $(CONFIG_VNC_TLS_CFLAGS) $(CONFIG_VNC_SASL_CFLAGS)
+
 curses.o: curses.c keymaps.h curses_keys.h
 
 bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
-- 
1.6.2.1

             reply	other threads:[~2009-04-22 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 18:45 Steven Noonan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-22 19:07 [Qemu-devel] [PATCH] sasl, tls: fix compilation on systems with nonstandard install points Steven Noonan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1240425936-82453-1-git-send-email-steven@uplinklabs.net \
    --to=steven@uplinklabs.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).