Also correct a link failure due to unresolved symbols. This is arguably a libtool/ranlib/ld bug, that "may" be corrected by linking all convenience libraries in a single one. But in this case, it was preferred to just add a linker option to Xfake_LDFLAGS, to force linkage of all libraries. This corrects #19725.
32 lines
492 B
Makefile
32 lines
492 B
Makefile
INCLUDES = \
|
|
@KDRIVE_INCS@ \
|
|
@KDRIVE_CFLAGS@
|
|
|
|
noinst_LTLIBRARIES = libfake.la
|
|
|
|
bin_PROGRAMS = Xfake
|
|
|
|
libfake_la_SOURCES = \
|
|
fake.c \
|
|
kbd.c \
|
|
os.c \
|
|
mouse.c \
|
|
fake.h
|
|
|
|
Xfake_SOURCES = \
|
|
fakeinit.c
|
|
|
|
Xfake_LDADD = \
|
|
libfake.la \
|
|
@KDRIVE_LIBS@ \
|
|
@XSERVER_LIBS@
|
|
|
|
Xfake_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) -Wl,-undefined=InitExtensions
|
|
|
|
Xfake_DEPENDENCIES = \
|
|
libfake.la \
|
|
@KDRIVE_LOCAL_LIBS@
|
|
|
|
relink:
|
|
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
|