diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 12:51:40 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-01-02 12:51:40 +0100 |
| commit | fdb957e95052b7c4ea32ab72b9efe5836133df7f (patch) | |
| tree | 38ed1e3bef7b16b19f46adb656a192ee3051eeab | |
| parent | c0666a895e7fe8e488332263fd106ced0ed7cab7 (diff) | |
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 <rydberg@euromail.se>
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | src/Makefile.am | 1 | ||||
| -rw-r--r-- | utouch-grail.sym.in | 13 |
3 files changed, 15 insertions, 0 deletions
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 | |||
| 30 | src/Makefile | 30 | src/Makefile |
| 31 | tools/Makefile | 31 | tools/Makefile |
| 32 | test/Makefile | 32 | test/Makefile |
| 33 | utouch-grail.sym | ||
| 33 | utouch-grail.pc]) | 34 | utouch-grail.pc]) |
| 34 | AC_OUTPUT | 35 | 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 | |||
| 2 | 2 | ||
| 3 | libutouch_grail_la_LDFLAGS = \ | 3 | libutouch_grail_la_LDFLAGS = \ |
| 4 | -version-info @LIB_VERSION@ \ | 4 | -version-info @LIB_VERSION@ \ |
| 5 | -export-symbols ../utouch-grail.sym \ | ||
| 5 | -lm \ | 6 | -lm \ |
| 6 | $(MTDEV_LIBS) \ | 7 | $(MTDEV_LIBS) \ |
| 7 | $(EVEMU_LIBS) \ | 8 | $(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 @@ | |||
| 1 | grail_close | ||
| 2 | grail_filter_abs_events | ||
| 3 | grail_get_contacts | ||
| 4 | grail_get_units | ||
| 5 | grail_idle | ||
| 6 | grail_mask_clear_mask | ||
| 7 | grail_mask_count | ||
| 8 | grail_mask_get_first | ||
| 9 | grail_mask_get_next | ||
| 10 | grail_mask_set_mask | ||
| 11 | grail_open | ||
| 12 | grail_pull | ||
| 13 | grail_set_bbox | ||
