diff --git a/misc/yosys-config.in b/misc/yosys-config.in index dd42b7c87..2d9c35e4d 100755 --- a/misc/yosys-config.in +++ b/misc/yosys-config.in @@ -44,7 +44,7 @@ if [ $# -eq 0 ]; then help fi -if [ "$1" == "--build" ]; then +if [ "$1" = "--build" ]; then modname="$2"; shift 2 set -- --exec --cxx --cxxflags --ldflags -o "$modname" -shared "$@" --libs fi