ssalonen / libcec-sys

FFI bindings for the libcec
GNU General Public License v2.0
2 stars 3 forks source link

Support static linking on Windows #24

Open ok-nick opened 2 years ago

ssalonen commented 1 year ago

Build logs shows that both static and dynamic are built automatically. This issue might matter of outputting right cargo instructions depending on e.g. feature (static)

[libcec-sys 4.0.3] -- Installing: D:/a/libcec-sys/libcec-sys/target/x86_64-pc-windows-msvc/debug/build/libcec-sys-e3c3ae5b1bfcbf4b/out/libcec_build/amd64/./cec.dll
[libcec-sys 4.0.3] -- Installing: D:/a/libcec-sys/libcec-sys/target/x86_64-pc-windows-msvc/debug/build/libcec-sys-e3c3ae5b1bfcbf4b/out/libcec_build/amd64/./cec-static.lib