1. Store the `PKG_CONFIG` variable in Makefile.sub (or try to get it from the ENV var PKG_CONFIG in mkmf.rb) 2. Try to use --msvc-syntax, with a fallback to replacing -Lxxx with -libpath:xxx. --msvc-syntax has been in pkgconf since 1.4.0...jmarrec (Julien Marrec)
Thank you for your reponse! Ideally I'd like to support it. I've tried it, I get similar issues for some of the other dylibs, during make install. Psych is built correctly, just can't be installed. Zlib looks to be the same issue....jmarrec (Julien Marrec)
I am trying to develop a conan (the C/C++ package manager) recipe for Ruby. The recipe would allow downstream users to 1) get a runnable ruby executable, and 2) be able to link to ruby, or embbed it in a C/C++ program if built statically...jmarrec (Julien Marrec)
The PKG_CONFIG variable is not respected in win32/Makefile.sub Also, need to ideally use the `--msvc-syntax` flag (pkgconf 1.4.0, released 7 years ago, adds it). But mostly, I realized that the `try_ldflags` in `lib/mkmf.rb` actual...jmarrec (Julien Marrec)
Hello, I am facing the same issue today, though I am presently on Ubuntu, not windows. I realized that `Init_ext` was doing nothing (I couldn't then use `require 'bigdecimal'` without a crash) by using a debugger and I noticed that it ...jmarrec (Julien Marrec)
I think there's an issue somewhere in the configuration for msvc, missing a space between two conf args it seems. # Try 1 ``` ..\ruby\win32\configure.bat --disable-install-doc --enable-bundled-libffi --with-opt-dir=C:/Users/julien/Sof...jmarrec (Julien Marrec)
I tried today with master (ac4d53bd461ff386cd45fdd484ffb6b628a251ad). So it isn't fixed by https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/8a5e161cd9a251054e851d46ccc367609a31c1c7jmarrec (Julien Marrec)
I am revisiting this with the latest master today. My command has quotes, and I am not changing the `--with-openssl-dir="C:/Program Files/OpenSSL-Win64"` which works plenty fine without `--static-linked-ext` https://github.com/jmar...jmarrec (Julien Marrec)