diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk index ce806b4ef74b..900061f21861 100644 --- a/sc/Library_scui.mk +++ b/sc/Library_scui.mk @@ -123,7 +123,7 @@ $(eval $(call gb_Library_add_linked_libs,scui,\ advapi32 \ kernel32 \ msvcrt \ - oldnames \ + $(gb_Library_win32_OLDNAMES) \ user32 \ uwinapi \ )) diff --git a/sc/Library_vbaobj.mk b/sc/Library_vbaobj.mk index 58dc9369c59f..e48eadfbf58b 100644 --- a/sc/Library_vbaobj.mk +++ b/sc/Library_vbaobj.mk @@ -156,7 +156,7 @@ $(eval $(call gb_Library_add_linked_libs,vbaobj,\ advapi32 \ kernel32 \ msvcrt \ - oldnames \ + $(gb_Library_win32_OLDNAMES) \ user32 \ uwinapi \ ))