Compiling wxWidgets on Win32: DLLs Installed to ${PREFIX}/lib
Posted: Sun Aug 25, 2019 3:41 am
I apologize for this question because I am sure it has been answered more than once, but I haven't been able to find an answer myself.
I am compiling wxWidgets 3.1.2 on Windows under MSYS2/MinGW-w64. I have no problems compiling. The only issue is that in the make install command, the .dll files are installed to ${PREFIX}/lib instead of ${PREFIX}/bin. Is there a switch I can use to tell it to install all .dll files to ${PREFIX}/bin?
This is part of a shell script with the options that I am using to configure wxWidgets:
All other libraries I have built & installed using a GNU Autotools configure script default to installing .dll files to ${PREFIX}/bin. I am not sure why wxWidgets does not do the same, or if there is something I have accidentally done that is causing the files to be installed to ${PREFIX}/lib.
Obviously I can manually copy the files to the ${PREFIX}/bin directory. But I would like to know if there is a reason this is happening & if I can change it in the configure command.
I am compiling wxWidgets 3.1.2 on Windows under MSYS2/MinGW-w64. I have no problems compiling. The only issue is that in the make install command, the .dll files are installed to ${PREFIX}/lib instead of ${PREFIX}/bin. Is there a switch I can use to tell it to install all .dll files to ${PREFIX}/bin?
This is part of a shell script with the options that I am using to configure wxWidgets:
Code: Select all
CONFIG_OPTS=(
--disable-gtktest
--disable-sdltest
--with-libpng=sys
--with-libjpeg=builtin
--with-libtiff=builtin
--with-libxpm=builtin
--with-libiconv=builtin
--with-regex=builtin
--with-zlib=sys
--with-liblzma=builtin
--with-expat=builtin
)
if ${OS_WIN}; then
CONFIG_OPTS+=(--with-msw)
fi
LIBTYPE_OPTS=(--enable-shared=yes)
${DIR_CONFIG_ROOT}/configure --prefix="${INSTALL_PREFIX}" ${LIBTYPE_OPTS[@]} ${CONFIG_OPTS[@]}
Obviously I can manually copy the files to the ${PREFIX}/bin directory. But I would like to know if there is a reason this is happening & if I can change it in the configure command.