Skip to content

Commit e640a3c

Browse files
committed
ola: fix host compilation
Add explicit host includes to fix uuid.h lookup. Fixes: 5e4f937 ("ola: use protobuf-compat instead of protobuf") Signed-off-by: George Sapkin <george@sapk.in>
1 parent 3d12578 commit e640a3c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

net/ola/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ CONFIGURE_ARGS += \
6666
--with-protoc=$(STAGING_DIR_HOSTPKG)/bin/protoc-compat
6767

6868
HOST_CONFIGURE_VARS += \
69-
PKG_CONFIG_PATH="$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
70-
CPPFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include $(HOST_CPPFLAGS)" \
71-
CXXFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include $(HOST_CXXFLAGS)" \
72-
LDFLAGS="-L$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib $(HOST_LDFLAGS)"
69+
PKG_CONFIG_PATH="$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib/pkgconfig:$(STAGING_DIR_HOST)/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
70+
CPPFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include -I$(STAGING_DIR_HOST)/include $(HOST_CPPFLAGS)" \
71+
CXXFLAGS="-I$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/include -I$(STAGING_DIR_HOST)/include $(HOST_CXXFLAGS)" \
72+
LDFLAGS="-L$(STAGING_DIR_HOSTPKG)/usr/protobuf-compat/lib -L$(STAGING_DIR_HOST)/lib $(HOST_LDFLAGS)"
7373

7474
CONFIGURE_VARS += \
7575
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/protobuf-compat/lib/pkgconfig:$(PKG_CONFIG_PATH)" \

0 commit comments

Comments
 (0)