+ * to that of the source WIM, unless --pack-streams,
+ * --solid, or --wimboot was specified. */
+
+ if (write_flags & WIMLIB_WRITE_FLAG_PACK_STREAMS)
+ compression_type = WIMLIB_COMPRESSION_TYPE_LZMS;
+ else if (export_flags & WIMLIB_EXPORT_FLAG_WIMBOOT)
+ compression_type = WIMLIB_COMPRESSION_TYPE_XPRESS;
+ else
+ compression_type = src_info.compression_type;