Observe build environment flags and use PYTHONPATH when generating version number
This commit is contained in:
1 parent
fa24f22d4d
commit
9b11238467
1 file changed
+1
-1
@@ -48,7 +48,7 @@ mn.1: $(MN)
|
||||
--no-discard-stderr $< -o $@
|
||||
|
||||
mnexec: mnexec.c $(MN) mininet/net.py
|
||||
cc -DVERSION=\"`$(MN) --version`\" $< -o $@
|
||||
cc $(CFLAGS) $(LDFLAGS) -DVERSION=\"`PYTHONPATH=. $(MN) --version`\" $< -o $@
|
||||
|
||||
mnexec.1: mnexec
|
||||
help2man -N -n "execution utility for Mininet." \
|
||||
|
||||
Reference in new issue
Block a user