--- src/Makefile.in.orig 2019-10-27 17:26:24.000000000 -0500
+++ src/Makefile.in 2019-10-30 05:57:32.000000000 -0500
INCLUDE := -I"$(MWROOT)/extern/include" -I"$(MWROOT)/simulink/include"
-LDFLAGS := -pthread -Wl,--no-undefined
+LDFLAGS := -pthread -Wl,-undefined,error
LINKEXPORTVER := -Wl,--version-script,"$(MWROOT)/extern/lib/glnxa64/c_exportsmexfileversion.map"
LINKLIBS := -Wl,--as-needed -Wl,-rpath-link,$(MWROOT)/bin/glnxa64 -L"$(MWROOT)/bin/glnxa64" -Wl,-rpath-link,$(MWROOT)/extern/bin/glnxa64 -L"$(MWROOT)/extern/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++