nvim-telescope / telescope-fzf-native.nvim

FZF sorter for telescope written in c
1.4k stars 46 forks source link

Clang build fails on Windows #124

Open alekulyn opened 7 months ago

alekulyn commented 7 months ago

Pretty straightforward. Changing https://github.com/nvim-telescope/telescope-fzf-native.nvim/blob/9ef21b2e6bb6ebeaf349a0781745549bbb870d27/Makefile#L4 from gcc to clang causes the make command to fail with the following error:

> make
cmd /C mkdir build
clang -O3 -Wall -Werror -fpic -std=gnu99 -shared src/fzf.c -o build/libfzf.dll
clang: error: unsupported option '-fpic' for target 'x86_64-pc-windows-msvc'
make: *** [Makefile:24: build/libfzf.dll] Error 1
AlejandroSuero commented 6 months ago

I made an issue with the same error, for references #122