On Thu, Apr 9, 2015 at 1:47 PM, Paul Moore <[email protected]> wrote: > On 9 April 2015 at 13:40, Alexey Pavlov <[email protected]> wrote: >>> No, I just ran makepkg-mingw which did the configure step for me. >>> >> You need change PKGBUILD to disable shared linking > > Ah, OK. Do I just need to do that for libarchive, or do I need to do > all the prerequisites as well? This is starting to seem like the same > issue as I had with my manual builds, where setting --enable-static > --disable-shared on the libarchive build wasn't enough, I had to do > the same on zlib, lzo, bzip2, xz, gzip, etc. If I have to do the same > here, I'm not sure the PKGBUILD approach will help me much, I may as > well use my manual approach (which has the advantage of not messing > with the build options for the system-level libraries).
Well, if we have static libs for all those things already then my suggestion of deleting the dynamic ones and their import libs should be good enough. Here's a handy tip too: pactree.exe mingw-w64-x86_64-libarchive mingw-w64-x86_64-libarchive ├─mingw-w64-x86_64-gcc-libs │ ├─mingw-w64-x86_64-gmp │ └─mingw-w64-x86_64-libwinpthread-git provides mingw-w64-x86_64-libwinpthread ├─mingw-w64-x86_64-bzip2 ├─mingw-w64-x86_64-expat ├─mingw-w64-x86_64-libiconv ├─mingw-w64-x86_64-lzo2 ├─mingw-w64-x86_64-libsystre │ └─mingw-w64-x86_64-libtre-git provides mingw-w64-x86_64-libtre │ ├─mingw-w64-x86_64-gcc-libs │ └─mingw-w64-x86_64-gettext │ ├─mingw-w64-x86_64-gcc-libs │ └─mingw-w64-x86_64-libiconv ├─mingw-w64-x86_64-nettle │ └─mingw-w64-x86_64-gmp ├─mingw-w64-x86_64-openssl │ ├─mingw-w64-x86_64-gcc-libs │ └─mingw-w64-x86_64-zlib │ └─mingw-w64-x86_64-bzip2 ├─mingw-w64-x86_64-xz │ ├─mingw-w64-x86_64-gcc-libs │ └─mingw-w64-x86_64-gettext └─mingw-w64-x86_64-zlib (I hope that's not formatted too badly!) > > Thanks, > Paul ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
