[gtk-vnc-devel] [patch] Use export-symbols-regex to fix ld problem on solaris
- From: Halton Huo <Halton Huo Sun COM>
- To: gtk-vnc-devel lists sourceforge net
- Subject: [gtk-vnc-devel] [patch] Use export-symbols-regex to fix ld problem on solaris
- Date: Tue, 08 Apr 2008 12:07:37 +0800
Hi,
With this patch, gtk-vnc trunk code can build on Solaris. Main reason is
--version-script is not supported with solaris ld. Use
export-symbols-regex will fix this bug. Refer to bug
http://bugzilla.gnome.org/show_bug.cgi?id=503359 for details.
Can I commit? My sourceforge id is 'nonsea'.
Thanks,
Halton.
# HG changeset patch
# User halton judo
# Date 1207627456 -28800
# Node ID 69c9e817def9d5acacbc4ec29654331e370ad9ca
# Parent b7bbfb2b5a47fb9aa68165fccb31414a45c9891a
Fix bug solaris ld does not support --version-script, refer to
http://bugzilla.gnome.org/show_bug.cgi?id=503359
diff -r b7bbfb2b5a47 -r 69c9e817def9 src/Makefile.am
--- a/src/Makefile.am Sun Apr 06 17:44:38 2008 -0500
+++ b/src/Makefile.am Tue Apr 08 12:04:16 2008 +0800
@@ -9,7 +9,7 @@ libgtk_vnc_1_0_la_CFLAGS = @GTK_CFLAGS@
@GTHREAD_CFLAGS@ @WARNING_CFLAGS@ \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DG_LOG_DOMAIN=\"gtk-vnc\"
-libgtk_vnc_1_0_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libgtk-vnc_sym.version \
+libgtk_vnc_1_0_la_LDFLAGS = -Wl, export-symbols-regex 'vnc_' \
-version-info 0:1:0
gtk_vnc_includedir = $(includedir)/gtk-vnc-1.0/
diff -r b7bbfb2b5a47 -r 69c9e817def9 src/libgtk-vnc_sym.version
--- a/src/libgtk-vnc_sym.version Sun Apr 06 17:44:38 2008 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,52 +0,0 @@
-{
- global:
- vnc_display_get_type;
- vnc_display_credential_get_type;
- vnc_display_key_event_get_type;
-
- vnc_display_new;
- vnc_display_open_fd;
- vnc_display_open_host;
- vnc_display_is_open;
- vnc_display_close;
-
- vnc_display_send_pointer;
- vnc_display_send_keys;
- vnc_display_send_keys_ex;
-
- vnc_display_set_credential;
-
- vnc_display_set_pointer_local;
- vnc_display_get_pointer_local;
-
- vnc_display_set_pointer_grab;
- vnc_display_get_pointer_grab;
-
- vnc_display_set_keyboard_grab;
- vnc_display_get_keyboard_grab;
-
- vnc_display_set_read_only;
- vnc_display_get_read_only;
-
- vnc_display_get_pixbuf;
-
- vnc_display_get_width;
- vnc_display_get_height;
- vnc_display_get_name;
-
- vnc_display_client_cut_text;
-
- vnc_display_set_lossy_encoding;
- vnc_display_get_lossy_encoding;
-
- vnc_display_set_scaling;
- vnc_display_get_scaling;
-
- vnc_display_force_grab;
- vnc_display_is_pointer_absolute;
-
- vnc_display_get_option_group;
-
- local:
- *;
-};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]