--- src/VBox/GuestHost/OpenGL/Makefile.kmk.orig 2019-07-12 08:49:27 UTC +++ src/VBox/GuestHost/OpenGL/Makefile.kmk @@ -94,7 +94,7 @@ VBoxOGLcrutil_DEFS.win += CR_DEBUG_BACKDOOR_ENABLE VBoxOGLcrutil_INCS.win += $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm VBoxOGLcrutil_LIBS.win += $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger$(VBOX_SUFF_LIB) endif -if1of ($(KBUILD_TARGET), linux) +if1of ($(KBUILD_TARGET), linux freebsd) VBoxOGLcrutil_LDFLAGS += -Wl,-z,nodelete endif @@ -140,7 +140,7 @@ VBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOSTLIB if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM) VBoxOGLhostcrutil_INSTTYPE.win = both endif -if1of ($(KBUILD_TARGET), linux) +if1of ($(KBUILD_TARGET), linux freebsd) VBoxOGLhostcrutil_LDFLAGS = $(NO_SUCH_VARIABLE) endif VBoxOGLhostcrutil_LIBS.win = \