From 1c285f011b5067c75f2812343c20a8d2eb457903 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 22 Dec 2020 16:03:51 +0100 Subject: [PATCH] [libcalamares] Export partition-syncer symbols --- src/libcalamares/partition/Sync.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/partition/Sync.h b/src/libcalamares/partition/Sync.h index 8bb516214..bcb2832ed 100644 --- a/src/libcalamares/partition/Sync.h +++ b/src/libcalamares/partition/Sync.h @@ -11,6 +11,8 @@ #ifndef PARTITION_SYNC_H #define PARTITION_SYNC_H +#include "DllMacro.h" + namespace CalamaresUtils { namespace Partition @@ -24,10 +26,10 @@ namespace Partition * are sensitive, and systemd tends to keep disks busy after a change * for a while). */ -void sync(); +DLLEXPORT void sync(); /** @brief RAII class for calling sync() */ -struct Syncer +struct DLLEXPORT Syncer { ~Syncer() { sync(); } };