-LIBS_NOGUI = ['xml', 'net']
-LIBS_GUI = ['core', 'adv', 'html', 'gl']
+LIBS_NOGUI = ['xml', 'net', 'odbc']
+LIBS_GUI = ['core', 'adv', 'html', 'gl', 'dbgrid', 'xrc', 'media']
+# Additional libraries that must be linked in:
+EXTRALIBS = {
+ 'gl' : '$(EXTRALIBS_OPENGL)',
+ 'xml' : '$(EXTRALIBS_XML)',
+ 'html' : '$(EXTRALIBS_HTML)',
+ 'odbc' : '$(EXTRALIBS_ODBC)',
+ 'adv' : '$(PLUGIN_ADV_EXTRALIBS)',
+}