libreplace: set SONAMEFLAG to "-Wl,-soname=" on QNX
[ira/wip.git] / lib / replace / libreplace_ld.m4
index 3982bbacc8ca9ecfcad81acb424362e3072f3968..bf0df6186dd9894773d3b654e747006fb15b509c 100644 (file)
@@ -208,7 +208,7 @@ AC_DEFUN([AC_LD_SONAMEFLAG],
        AC_SUBST(SONAMEFLAG)
        SONAMEFLAG=""
        case "$host_os" in 
        AC_SUBST(SONAMEFLAG)
        SONAMEFLAG=""
        case "$host_os" in 
-               *linux*|*gnu*)
+               *linux*|*gnu*|*qnx*)
                        SONAMEFLAG="-Wl,-soname="
                        ;;
                *solaris*)
                        SONAMEFLAG="-Wl,-soname="
                        ;;
                *solaris*)