From fdb957e95052b7c4ea32ab72b9efe5836133df7f Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Sun, 2 Jan 2011 12:51:40 +0100 Subject: Only export the intended grail symbols In the making of grail1, the intention was never that the gin, gru and touch symbols be exported. Rectify this by adding an explicit symbols file used during linking. Signed-off-by: Henrik Rydberg --- configure.ac | 1 + src/Makefile.am | 1 + utouch-grail.sym.in | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 utouch-grail.sym.in diff --git a/configure.ac b/configure.ac index ceb9258..a705d57 100644 --- a/configure.ac +++ b/configure.ac @@ -30,5 +30,6 @@ AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile test/Makefile + utouch-grail.sym utouch-grail.pc]) AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am index bb1c4c5..855d428 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,7 @@ lib_LTLIBRARIES = libutouch-grail.la libutouch_grail_la_LDFLAGS = \ -version-info @LIB_VERSION@ \ + -export-symbols ../utouch-grail.sym \ -lm \ $(MTDEV_LIBS) \ $(EVEMU_LIBS) \ diff --git a/utouch-grail.sym.in b/utouch-grail.sym.in new file mode 100644 index 0000000..e2039ff --- /dev/null +++ b/utouch-grail.sym.in @@ -0,0 +1,13 @@ +grail_close +grail_filter_abs_events +grail_get_contacts +grail_get_units +grail_idle +grail_mask_clear_mask +grail_mask_count +grail_mask_get_first +grail_mask_get_next +grail_mask_set_mask +grail_open +grail_pull +grail_set_bbox -- cgit v1.2.3