File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,6 +231,9 @@ local sourceFiles =
231231 #DiskDeviceDefs.cpp
232232 FilePanel.cpp
233233
234+ # TranslationKit
235+ # NOTE: When adding a new file to this list, you will likely also want to
236+ # tell the compiler to link it with libtranslation.so below.
234237 TranslationDefs.cpp
235238 TranslatorRoster.cpp
236239 TranslationUtils.cpp
@@ -248,6 +251,12 @@ for sourceFile in $(sourceFiles) {
248251# FilePanel.so needs to be linked with libtracker.so
249252LINKLIBS on FilePanel.so = $(LINKLIBS) -ltracker ;
250253
254+ # Some/all files in the translation kit need libtranslation.so
255+ LINKLIBS on TranslationDefs.so = $(LINKLIBS) -ltranslation ;
256+ LINKLIBS on TranslatorRoster.so = $(LINKLIBS) -ltranslation ;
257+ LINKLIBS on TranslationUtils.so = $(LINKLIBS) -ltranslation ;
258+ LINKLIBS on Translator.so = $(LINKLIBS) -ltranslation ;
259+
251260# __init__.py can be built by simply copying the file
252261MakeLocate __init__.py : $(LOCATE_TARGET) ; # Put it in the build directory
253262File __init__.py : bindings/__init__.py ;
You can’t perform that action at this time.
0 commit comments