The file "ld" is not associated with any file type

When I had an error:

/Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: warning: shared library text segment is not shareable
  /Android/Sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/linux-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: error: treating warnings as errors

I was trying set

LOCAL_LDLIBS += -Wl,–no-warn-shared-textrel

in Android.mk of SDL2_mixer module, but after that pop-up window in Android studio start showing with message:

“The file “ld” is not associated with any file type”

when I try to run my app on virtual devices with x86 ABI. If I associate file “ld” with text type, then when I running my app this file “ld” start opening in Android studio tab and contain some binary (I guess) data.

What is this and how to fix it?