From 350353885ea0e4bd5112e1168b7f7721acfdf901 Mon Sep 17 00:00:00 2001 From: Sebastian Sumpf Date: Thu, 7 Oct 2021 13:41:56 +0200 Subject: [PATCH] vbox6: add shared folder support builds virtualbox6-sharedfolders.lib.so from unmodified VirtualBox6 sources. fixes #4288 --- .../ports/lib/mk/virtualbox6-sharedfolders.mk | 18 ++++++++++++++++++ repos/ports/recipes/pkg/vbox6/runtime | 4 ++++ repos/ports/src/virtualbox6/services/target.mk | 1 + 3 files changed, 23 insertions(+) create mode 100644 repos/ports/lib/mk/virtualbox6-sharedfolders.mk diff --git a/repos/ports/lib/mk/virtualbox6-sharedfolders.mk b/repos/ports/lib/mk/virtualbox6-sharedfolders.mk new file mode 100644 index 0000000000..f0264d4399 --- /dev/null +++ b/repos/ports/lib/mk/virtualbox6-sharedfolders.mk @@ -0,0 +1,18 @@ +include $(REP_DIR)/lib/mk/virtualbox6-common.inc + +SHARED_LIB = yes + +SRC_CC += mappings.cpp +SRC_CC += shflhandle.cpp +SRC_CC += VBoxSharedFoldersSvc.cpp +SRC_CC += vbsf.cpp +SRC_CC += vbsfpathabs.cpp +SRC_CC += vbsfpath.cpp + +LIBS += stdcxx + +INC_DIR += $(VBOX_DIR)/HostServices/SharedFolders + +CC_CXX_WARN_STRICT = + +vpath %.cpp $(VBOX_DIR)/HostServices/SharedFolders diff --git a/repos/ports/recipes/pkg/vbox6/runtime b/repos/ports/recipes/pkg/vbox6/runtime index c09cebe276..51455406a9 100755 --- a/repos/ports/recipes/pkg/vbox6/runtime +++ b/repos/ports/recipes/pkg/vbox6/runtime @@ -56,6 +56,7 @@ + @@ -79,6 +80,8 @@ + + @@ -104,6 +107,7 @@ + diff --git a/repos/ports/src/virtualbox6/services/target.mk b/repos/ports/src/virtualbox6/services/target.mk index c99199bdf4..200c5bb115 100644 --- a/repos/ports/src/virtualbox6/services/target.mk +++ b/repos/ports/src/virtualbox6/services/target.mk @@ -1,3 +1,4 @@ TARGET = dummy-virtualbox6-services LIBS += virtualbox6-sharedclipboard +LIBS += virtualbox6-sharedfolders