diff options
-rw-r--r-- | Module_tail_build.mk | 4 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | extensions/Library_scn.mk | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/Module_tail_build.mk b/Module_tail_build.mk index 02a7d43273f2..719a6e6b202d 100644 --- a/Module_tail_build.mk +++ b/Module_tail_build.mk @@ -112,9 +112,7 @@ $(eval $(call gb_Module_add_moduledirs,tail_end,\ test \ toolkit \ tools \ - $(if $(filter TWAIN,$(BUILD_TYPE)),\ - twain \ - ) \ + twain \ ucb \ unixODBC \ UnoControls \ diff --git a/configure.in b/configure.in index 04df9819cfa6..32332662c433 100644 --- a/configure.in +++ b/configure.in @@ -2524,10 +2524,6 @@ dnl =================================================================== dnl Windows specific tests and stuff dnl =================================================================== if test "$_os" = "WINNT"; then - - dnl Include twain scanners - BUILD_TYPE="$BUILD_TYPE TWAIN" - dnl Set the CL_X64 variable if we are building a 64-bit LibreOffice. AC_MSG_CHECKING([whether to build a 64-bit LibreOffice]) if test "$enable_cl_x64" = "" -o "$enable_cl_x64" = "no"; then diff --git a/extensions/Library_scn.mk b/extensions/Library_scn.mk index 2942b2b0eeba..1a884a6a8bec 100644 --- a/extensions/Library_scn.mk +++ b/extensions/Library_scn.mk @@ -32,7 +32,6 @@ $(eval $(call gb_Library_set_componentfile,scn,extensions/source/scanner/scn)) $(eval $(call gb_Library_use_packages,scn,\ sane_inc \ - twain_inc \ )) $(eval $(call gb_Library_use_api,scn,\ @@ -57,6 +56,8 @@ $(eval $(call gb_Library_add_exception_objects,scn,\ )) ifeq ($(GUI),WNT) +$(eval $(call gb_Library_use_packages,scn,twain_inc)) + $(eval $(call gb_Library_add_exception_objects,scn,\ extensions/source/scanner/scanwin \ )) |