Commit c9b86dd3 authored by Simon McVittie's avatar Simon McVittie Committed by Ralf Habacker

dbus: Clarify why we are not just adding the resource file to SOURCES

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 6b56b68d
......@@ -47,12 +47,17 @@ SUFFIXES = .rc
.rc.o:
$(WINDRES) $< -o $@
# We can't just put versioninfo.rc in SOURCES and let Automake infer
# how to make versioninfo.o, because libtool wants libtool objects (.lo),
# not plain COFF objects (.o). Add it to the linker command explicitly
# instead.
dbus_res = versioninfo.o
EXTRA_libdbus_1_la_DEPENDENCIES = $(dbus_res)
dbus_res_ldflag = -Wl,$(dbus_res)
no_undefined = -no-undefined
export_symbols =
EXTRA_libdbus_1_la_DEPENDENCIES = $(dbus_res)
intllibs =
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment