[vlc-devel] [PATCH v2 06/17] contrib: main: ensure NM is defined in makefile
Alexandre Janniaux
ajanni at videolabs.io
Wed Apr 29 22:40:49 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 0a731f11dcc..534f1d11349 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.2
More information about the vlc-devel
mailing list