Index: /trunk/src/libs/xpcom18a4/python/Makefile.kmk
===================================================================
--- /trunk/src/libs/xpcom18a4/python/Makefile.kmk	(revision 86645)
+++ /trunk/src/libs/xpcom18a4/python/Makefile.kmk	(revision 86646)
@@ -218,8 +218,12 @@
   if defined(VBOX_PYTHON26_INC)
 VBoxPython2_INCS       = $(VBOX_PYTHON26_INC)
+   ifn1of ($(KBUILD_TARGET), linux)
 VBoxPython2_LIBS       = $(VBOX_PYTHON26_LIB)
+   endif
   else
 VBoxPython2_INCS       = $(VBOX_PYTHON27_INC)
+   ifn1of ($(KBUILD_TARGET), linux)
 VBoxPython2_LIBS       = $(VBOX_PYTHON27_LIB)
+   endif
   endif
  endif
@@ -237,8 +241,12 @@
   if defined(VBOX_PYTHON26LIB_X86)
 VBoxPython2_x86_INCS       = $(VBOX_PYTHON26_INC)
+   ifn1of ($(KBUILD_TARGET), linux)
 VBoxPython2_x86_LIBS       = $(VBOX_PYTHON26_LIB_X86)
+   endif
   else
 VBoxPython2_x86_INCS       = $(VBOX_PYTHON27_INC)
+   ifn1of ($(KBUILD_TARGET), linux)
 VBoxPython2_x86_LIBS       = $(VBOX_PYTHON27_LIB_X86)
+   endif
   endif
  endif
