mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/gdb: gdb+expat build fix
Commit 23413b51b2308225584b65c2fcd800ca8f7c56af added --with-expat configure option and expat dependency when BR2_PACKAGE_EXPAT is configured. When cross-compiling, gdb configure fails because the host system libexpat is referenced. Configuring gdb with --with-libexpat-prefix=$(STAGING_DIR)/usr fixes the reference and allows gdb to build successfully. Tested with arm-buildroot-linux-gnueabihf toolchain. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0a500e6af7
commit
76e176a075
@ -101,6 +101,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
||||||
GDB_CONF_OPTS += --with-expat
|
GDB_CONF_OPTS += --with-expat
|
||||||
|
GDB_CONF_OPTS += --with-libexpat-prefix=$(STAGING_DIR)/usr
|
||||||
GDB_DEPENDENCIES += expat
|
GDB_DEPENDENCIES += expat
|
||||||
else
|
else
|
||||||
GDB_CONF_OPTS += --without-expat
|
GDB_CONF_OPTS += --without-expat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user