VirtualBox

Changeset 86390 in vbox for trunk


Ignore:
Timestamp:
Oct 1, 2020 3:59:35 PM (4 years ago)
Author:
vboxsync
Message:

/Config.kmk,xpcom/Makefile.kmk: Better error message if we cannot find the libIDL config script.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r86350 r86390  
    22772277  # libIDL-config (for xpcom18a4)
    22782278  ifeq ($(origin VBOX_LIBIDL_CONFIG),undefined)
    2279    export VBOX_LIBIDL_CONFIG := $(firstword $(shell which libIDL-config-2 libIDL-config 2> /dev/null))
     2279   export VBOX_LIBIDL_CONFIG := $(firstword $(which libIDL-config-2 libIDL-config) libIDL-config-2-not-found)
    22802280  endif
    22812281 endif
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r86389 r86390  
    474474else
    475475 # We do these ONCE.
    476  ifndef VBOX_LIBIDL_CONFIG
    477   $(error VBox: Missing libIDL package? VBOX_LIBIDL_CONFIG is empty, neither libIDL-config-2 nor libIDL-config was found)
    478  endif
    479  libIDL_config_cflags := $(shell $(VBOX_LIBIDL_CONFIG) --cflags)
    480  libIDL_config_libs   := $(shell $(VBOX_LIBIDL_CONFIG) --libs)
     476 libIDL_config_cflags := $(shell "$(VBOX_LIBIDL_CONFIG)" --cflags)
     477 libIDL_config_libs   := $(shell "$(VBOX_LIBIDL_CONFIG)" --libs)
    481478 xpidl_CFLAGS = \
    482479        $(libIDL_config_cflags)
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