--- gtk2/pad/Makefile.am.orig	2025-05-18 06:24:43 UTC
+++ gtk2/pad/Makefile.am
@@ -7,8 +7,7 @@ uim_input_pad_ja_SOURCES  = ja.c
 bin_PROGRAMS = uim-input-pad-ja
 
 uim_input_pad_ja_SOURCES  = ja.c
-uim_input_pad_ja_LDADD    = @GTK2_LIBS@ $(top_builddir)/uim/libuim-scm.la \
-			    $(top_builddir)/uim/libuim.la
+uim_input_pad_ja_LDADD    = @GTK2_LIBS@ -luim-scm -luim
 uim_input_pad_ja_CPPFLAGS = $(AM_CPPFLAGS)
 uim_input_pad_ja_CFLAGS   = @GTK2_CFLAGS@
 endif
