Closed paspro closed 1 year ago
In file cs_auto_flags.sh the code reads:
case "$host_os" in darwin*) cflags_default_shared="-fPIC -DPIC" fcflags_default_shared="-fPIC -DPIC" cxxflags_default_shared="--fPIC -DPIC" ldflags_default_shared="-dynamiclib -undefined dynamic_lookup -undefined error" ldflags_default_soname="-install_name @rpath/" ;; *) cflags_default_shared="-fPIC -DPIC" fcflags_default_shared="-fPIC -DPIC" cxxflags_default_shared="-fPIC -DPIC" ldflags_default_shared="-shared" ldflags_default_soname="-Wl,-soname -Wl," ;; esac
the line:
cxxflags_default_shared="--fPIC -DPIC"
is wrong and it should be instead:
cxxflags_default_shared="-fPIC -DPIC"
Fixed in commit 27dc89793 (master), 02e38907 (v8.0), and 8950f733 (v7.3).
In file cs_auto_flags.sh the code reads:
the line:
cxxflags_default_shared="--fPIC -DPIC"
is wrong and it should be instead:
cxxflags_default_shared="-fPIC -DPIC"