Diff

Differences From Artifact [d0e235eb57]:

To Artifact [5d0cdc97c7]:


    41     41   ])
    42     42   
    43     43   AC_DEFUN(DC_DO_STATIC_LINK_LIBCXX, [
    44     44   	AC_MSG_CHECKING([for how to statically link to libstdc++])
    45     45   
    46     46   	SAVELIBS="${LIBS}"
    47     47   	staticlibcxx=""
    48         -	for trylink in "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" "-Wl,-Bstatic -lCstd -lCrun -Wl,-Bdynamic" "-lstdc++" "-lCstd -lCrun"; do
           48  +	for trylink in "-Wl,-Bstatic -lCstd -lCrun -Wl,-Bdynamic" "-Wl,-Bstatic -lstdc++ -Wl,-Bdynamic" "-lCstd -lCrun" "-lstdc++"; do
    49     49   		LIBS="${SAVELIBS} ${trylink}"
    50     50   
    51     51   		AC_LINK_IFELSE(AC_LANG_PROGRAM([], []), [
    52     52   			staticlibcxx="${trylink}"
    53     53   
    54     54   			break
    55     55   		])