shsajjadi / OctaveCoder

Octave Coder __ A code generator and build system that converts Octave to C++
Other
25 stars 3 forks source link

On compilation failure DL_LDFLAGS should reset to its original value #13

Closed shsajjadi closed 2 years ago

shsajjadi commented 2 years ago

In order to create shared libraries we need to change the environment variable DL_LDFLAGS to get the value of SH_LDFLAGS and after the compilation it is reset to its original value. However on compilation failure an exception is thrown and DL_LDFLAGS remains unchanged. It may affect mkoctfile .

shsajjadi commented 2 years ago

Th fix is here