sasl, tls: fix compilation on systems with nonstandard install points
PATCH 1/1 sasl, tls: fix compilation on systems with nonstandard install points
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.
--- Makefile | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
Makefile +7 -1
@@ -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)
Signature · 1 line
1.6.2.1
Sorry, did not intend to send this twice. Took a bit to get postfix working and then it sent a ton of queued messages.
Quoted 45 lines · Steven Noonan
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 <[email protected]>--- Makefile | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)Makefile +0
-0@@ -194,14 +194,20 @@ vnc.h: vnc-tls.h vnc-auth-vencrypt.h vnc-auth-sasl.h
keymaps.hvnc.o:
vnc.cvnc.hvnc_keysym.hvnchextile.hd3des.cd3des.hacl.hMakefile +4
-1-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)
Makefile +2
-0+ 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.ckeymaps.hcurses_keys.hbt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
--
1.6.2.1