VirtualBox

Ignore:
Timestamp:
Oct 14, 2016 7:37:12 AM (8 years ago)
Author:
vboxsync
Message:

bugref:3810: X11 Guest Additions maintenance: check VBOX_USE_SYSTEM_GL_HEADERS when building the OpenGL libraries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk

    r64269 r64271  
    6868VBoxOGL_INCS           = .
    6969if1of ($(KBUILD_TARGET), linux solaris freebsd)
    70  VBoxOGL_INCS     += \
     70 ifdef VBOX_USE_SYSTEM_GL_HEADERS
     71  VBoxOGL_INCS += x11
     72 else
     73  VBoxOGL_INCS     += \
    7174        $(VBOX_PATH_X11_ROOT)/libXdamage-1.1 \
    7275        $(VBOX_PATH_X11_ROOT)/libXcomposite-0.4.0 \
     
    7982        $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
    8083        $(VBOX_PATH_X11_ROOT)/xproto-7.0.18 \
    81         $(VBOX_GL_INCS) \
    82         $(PATH_ROOT)/src/VBox/Additions/x11/x11include/libdrm-2.4.13
     84        $(VBOX_GL_INCS)
     85 endif
    8386 VBoxOGL_DEFS     += VBOX_NO_NATIVEGL
    8487endif
     
    214217
    215218if1of ($(KBUILD_TARGET), linux solaris freebsd)
    216  VBoxOGL_LIBS += \
     219 ifdef VBOX_USE_SYSTEM_GL_HEADERS
     220  VBoxOGL_LIBS += Xcomposite Xdamage Xfixes Xext
     221 else
     222  VBoxOGL_LIBS += \
    217223        $(PATH_STAGE_LIB)/libXcomposite.so \
    218224        $(PATH_STAGE_LIB)/libXdamage.so \
    219225        $(PATH_STAGE_LIB)/libXfixes.so \
    220226        $(PATH_STAGE_LIB)/libXext.so
     227 endif
    221228 ifdef VBoxOGL_FAKEDRI
    222229  ifeq ($(KBUILD_TARGET), freebsd)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette