Changeset 108322 in vbox
- Timestamp:
- Feb 21, 2025 11:38:25 AM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 167668
- Location:
- trunk
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r108257 r108322 2745 2745 $(VBOX_PATH_SDK)/bindings/xpcom/include/nsprpub \ 2746 2746 $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd 2747 ifneq ($(KBUILD_TARGET),os2)2748 # libIDL-config (for xpcom18a4)2749 ifeq ($(origin VBOX_LIBIDL_CONFIG),undefined)2750 ifeq ($(KBUILD_HOST),solaris)2751 VBOX_LIBIDL_CONFIG_FALLBACK = $(lastword $(wildcard $(KBUILD_DEVTOOLS)/solaris.amd64/libIDL/*/bin/libIDL-config-2))2752 endif2753 export VBOX_LIBIDL_CONFIG := $(firstword $(which libIDL-config-2 libIDL-config) $(VBOX_LIBIDL_CONFIG_FALLBACK) libIDL-config-2-not-found)2754 endif2755 endif2756 2747 endif 2757 2748 -
trunk/configure
r108242 r108322 91 91 WITH_JAVA=1 92 92 WITH_VMMRAW=1 93 WITH_LIBIDL=194 93 WITH_QT6=1 95 94 WITH_SDL=1 … … 768 767 769 768 # 770 # Check for libIDL, needed by xpcom771 #772 check_libidl()773 {774 test_header libIDL775 776 if which_wrapper libIDL-config-2 > /dev/null; then777 libidl_ver=`libIDL-config-2 --version`778 if [ $? -ne 0 ]; then779 log_failure "libIDL-config-2 not working"780 fail781 else782 log_success "found version $libidl_ver"783 cnf_append "VBOX_LIBIDL_CONFIG" \784 "PKG_CONFIG_PATH=`libIDL-config-2 --prefix`/$LIB/pkgconfig `which_wrapper libIDL-config-2`"785 fi786 elif check_avail "libIDL-config" libIDL-config; then787 libidl_ver=`libIDL-config --version`788 if [ $? -ne 0 ]; then789 log_failure "libIDL-config not working"790 fail791 else792 log_success "found version $libidl_ver"793 cnf_append "VBOX_LIBIDL_CONFIG" "`which_wrapper libIDL-config`"794 fi795 fi796 }797 798 799 #800 769 # Check for libdevmapper, needed by the VBoxVolInfo 801 770 # … … 2612 2581 WITH_DBUS=0 2613 2582 WITH_KMODS=0 2614 WITH_LIBIDL=02615 2583 WITH_XPCOM=0 2616 2584 BUILD_LIBXSLT=1 … … 3000 2968 [ "$OS" != "darwin" ] && check_pthread 3001 2969 check_libxml2 3002 [ $WITH_LIBIDL -eq 1 ] && check_libidl3003 2970 check_z 3004 2971 check_lzf -
trunk/src/libs/xpcom18a4/Makefile.kmk
r108257 r108322 313 313 xpcom/typelib/xpt/src/xpt_arena.c \ 314 314 xpcom/typelib/xpt/src/xpt_struct.c \ 315 xpcom/typelib/xpt/src/xpt_xdr.c 316 317 # We do these ONCE. 318 libIDL_config_cflags := $(shell $(VBOX_LIBIDL_CONFIG) --cflags) 319 libIDL_config_libs := $(shell $(VBOX_LIBIDL_CONFIG) --libs) 320 xpidl_CFLAGS = \ 321 $(libIDL_config_cflags) 322 if1of ($(KBUILD_HOST), linux solaris) 323 xpidl_LDFLAGS = \ 324 $(filter-out -l%,$(libIDL_config_libs)) 325 xpidl_LIBS.$(KBUILD_HOST) += \ 326 $(subst -l,,$(filter -l%,$(libIDL_config_libs))) 327 else 328 ifeq ($(KBUILD_HOST),darwin) 329 # Need to put the SDK /usr/lib before the libIDL path to make it pick the system iconv 330 xpidl_LDFLAGS = \ 331 -L$(VBOX_PATH_MACOSX_SDK)/usr/lib \ 332 $(libIDL_config_libs) 333 else 334 xpidl_LDFLAGS = \ 335 $(libIDL_config_libs) 336 endif 337 endif 338 xpidl_LDFLAGS.linux = \ 339 $(VBOX_LD_as_needed) 315 xpcom/typelib/xpt/src/xpt_xdr.c \ 316 ../../VBox/Runtime/common/script/scriptlex.cpp 317 340 318 341 319 #
Note:
See TracChangeset
for help on using the changeset viewer.