Skip to content

Commit

Permalink
Link with the necessary libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Gladkov <legion@kernel.org>
  • Loading branch information
legionus committed Oct 23, 2024
1 parent 9ab9874 commit bd073cc
Showing 1 changed file with 35 additions and 5 deletions.
40 changes: 35 additions & 5 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,42 @@ spawn_login_SOURCES = spawn_command.c
spawn_console_CFLAGS = -DSPAWN_CONSOLE
spawn_login_CFLAGS = -DSPAWN_LOGIN

LDADD += \
libkfont/libkfont.la \
libkeymap/libkeymap.la \
libkbdfile/libkbdfile.la \
COMMON_LIBS = \
libcommon/libcommon.a \
@LIBINTL@
@INTLLIBS@

chvt_LDADD = $(COMMON_LIBS)
deallocvt_LDADD = $(COMMON_LIBS)
fgconsole_LDADD = $(COMMON_LIBS)
getkeycodes_LDADD = $(COMMON_LIBS)
kbd_mode_LDADD = $(COMMON_LIBS)
kbdinfo_LDADD = $(COMMON_LIBS)
kbdrate_LDADD = $(COMMON_LIBS)
openvt_LDADD = $(COMMON_LIBS)
screendump_LDADD = $(COMMON_LIBS)
setkeycodes_LDADD = $(COMMON_LIBS)
setleds_LDADD = $(COMMON_LIBS)
setlogcons_LDADD = $(COMMON_LIBS)
setmetamode_LDADD = $(COMMON_LIBS)
setpalette_LDADD = $(COMMON_LIBS)
setvesablank_LDADD = $(COMMON_LIBS)
setvtrgb_LDADD = $(COMMON_LIBS)
showkey_LDADD = $(COMMON_LIBS)
spawn_console_LDADD = $(COMMON_LIBS)
spawn_login_LDADD = $(COMMON_LIBS)

resizecons_LDADD = libkbdfile/libkbdfile.la $(COMMON_LIBS)

clrunimap_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
getunimap_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
loadunimap_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
mapscrn_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
psfxtable_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
setfont_LDADD = libkfont/libkfont.la $(COMMON_LIBS)
showconsolefont_LDADD = libkfont/libkfont.la $(COMMON_LIBS)

dumpkeys_LDADD = libkeymap/libkeymap.la libkbdfile/libkbdfile.la $(COMMON_LIBS)
loadkeys_LDADD = libkeymap/libkeymap.la libkbdfile/libkbdfile.la $(COMMON_LIBS)

install-exec-hook:
for i in psfaddtable psfgettable psfstriptable; do \
Expand Down

0 comments on commit bd073cc

Please sign in to comment.