[vlc-devel] [PATCH 6/7] contrib: main: expose nm to makefile
Alexandre Janniaux
ajanni at videolabs.io
Fri Apr 24 17:02:04 CEST 2020
ffmpeg rules.make is passing the variable to configure, and nm can be
present in different flavour, for example in linux/macosx
cross-compilation environments.
---
contrib/src/main.mak | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index df343ffc90..20e82205e1 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -70,6 +70,7 @@ endif
ifneq ($(findstring $(origin AR),undefined default),)
AR := ar
endif
+NM ?= nm
RANLIB ?= ranlib
STRIP ?= strip
WIDL ?= widl
@@ -88,6 +89,7 @@ endif
ifneq ($(findstring $(origin AR),undefined default),)
AR := $(HOST)-ar
endif
+NM ?= $(HOST)-nm
RANLIB ?= $(HOST)-ranlib
STRIP ?= $(HOST)-strip
WIDL ?= $(HOST)-widl
--
2.26.1
More information about the vlc-devel
mailing list