diff options
-rwxr-xr-x | configure.in | 1 | ||||
-rw-r--r-- | scp2/source/ooo/file_library_ooo.scp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 14c4e74d5bee..8dbdbeec97b5 100755 --- a/configure.in +++ b/configure.in @@ -6571,6 +6571,7 @@ if test "$test_librsvg" = "yes"; then PKG_CHECK_MODULES( LIBRSVG, librsvg-2.0 >= 2.14,,AC_MSG_ERROR([requirements to build with librsvg support not met. Use --disable-librsvg or install the missing packages])) ENABLE_LIBRSVG="TRUE" AC_MSG_RESULT([yes]) + BUILD_TYPE="$BUILD_TYPE LIBRSVG" else AC_MSG_RESULT([no]) fi diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp index bbca5d19a91e..3e4405331280 100644 --- a/scp2/source/ooo/file_library_ooo.scp +++ b/scp2/source/ooo/file_library_ooo.scp @@ -1785,6 +1785,8 @@ File gid_File_Lib_Gmodule End #endif +#if ENABLE_LIBRSVG + #if ! defined SYSTEM_GDKPIXBUF File gid_File_Lib_Gdkpixbuf TXT_FILE_BODY; @@ -1866,6 +1868,8 @@ File gid_File_Lib_Librsvg End #endif +#endif + #ifdef WNT File gid_File_Lib_sellangmsi TXT_FILE_BODY; |