[vlc-devel] [PATCH] contrib: libebur128: Set ENABLE_INTERNAL_QUEUE_H=TRUE
Martin Storsjö
martin at martin.st
Thu Aug 27 08:52:29 CEST 2020
Without this, building for e.g. mingw targets fail due to sys/queue.h
not being found externally.
---
Or should this only be done when targeting systems that lack
sys/queue.h - does this break e.g. unices?
Ideally it would be taken into use automatically by the libebur128 build
system if needed...
---
contrib/src/libebur128/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/libebur128/rules.mak b/contrib/src/libebur128/rules.mak
index ba91a50a0e..7f74aabb76 100644
--- a/contrib/src/libebur128/rules.mak
+++ b/contrib/src/libebur128/rules.mak
@@ -19,7 +19,7 @@ libebur128: libebur128-$(LIBEBUR128_VERSION).tar.gz .sum-libebur128
$(MOVE)
.libebur128: libebur128 toolchain.cmake
- cd $< && $(HOSTVARS_PIC) $(CMAKE)
+ cd $< && $(HOSTVARS_PIC) $(CMAKE) -DENABLE_INTERNAL_QUEUE_H=TRUE
cd $< && $(MAKE) install
rm -f $(PREFIX)/lib/libebur128.so*
touch $@
--
2.17.1
More information about the vlc-devel
mailing list