Skip to content

Commit

Permalink
Bugfix: perform shared linking with C++ compiler
Browse files Browse the repository at this point in the history
in order to automatically link with libstdc++ .  This fixes a linking
error on Mac.
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Oct 21, 2016
1 parent 1cf4847 commit c377d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -187,7 +187,7 @@ STATIC_LIB_CMD="ar cru"
STATIC_LDFLAGS="-static"
STATIC_LDLIBS="-lquadmath -ldl"
SHARED_LIB_EXT=".so"
SHARED_LIB_CMD="$CC -shared -o"
SHARED_LIB_CMD="$CXX -shared -o"
SHARED_LDFLAGS=""
SHARED_LDLIBS=""
MODULE_LIBEXT="$STATIC_LIB_EXT"
Expand Down

0 comments on commit c377d70

Please sign in to comment.