|
@@ -14,6 +14,9 @@ OMNIORB_DEPENDENCIES = host-omniorb
|
|
|
HOST_OMNIORB_DEPENDENCIES = host-python
|
|
|
OMNIORB_INSTALL_TARGET = YES
|
|
|
|
|
|
+# 0001-uclinux-is-also-linux.patch touches configure.ac
|
|
|
+OMNIORB_AUTORECONF = YES
|
|
|
+
|
|
|
# omniorb is not python3 friendly, so force the python interpreter
|
|
|
OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
|
|
|
HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
|
|
@@ -41,6 +44,13 @@ ifeq ($(BR2_PACKAGE_OMNIORB_WITH_APPS),y)
|
|
|
OMNIORB_POST_PATCH_HOOKS += OMNIORB_ENABLE_EXTRA_APPS
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
+define OMNIORB_DISABLE_SHARED
|
|
|
+ echo "BuildSharedLibrary =" >> $(@D)/mk/beforeauto.mk
|
|
|
+endef
|
|
|
+OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_DISABLE_SHARED
|
|
|
+endif
|
|
|
+
|
|
|
# omniORB is not completely cross-compile friendly and has some
|
|
|
# assumptions where a couple host tools must be built and then
|
|
|
# used by the target build. The host tools generate code from
|