wxwidgets/build
Vadim Zeitlin 63bcac8c21 Use -rpath option when linking all the libraries too
Previously this was used only for linking the samples, which ensured
that they found the libraries directly referenced by them, but this
wasn't enough to find the libraries referenced indirectly, via another
library (e.g. wxxml used by wxxrc internally but not necessarily
referenced by the sample using XRC) because DT_RUNPATH is not used in
this case, as documented in Linux ld.so(8).

Ensure that such libraries are found nevertheless by setting runpath
for all the libraries too.

Note that it would probably be more logical to just get rid of
SAMPLES_RPATH_FLAG and use DYLIB_RPATH_FLAG everywhere, but this would
result in a ton of changes, so keep the old variable for now and just
set it to the same value to avoid this and keep the possibility to
change it to a different value if necessary later.
2024-01-29 01:15:40 +01:00
..
aclocal Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
bakefiles Use -rpath option when linking all the libraries too 2024-01-29 01:15:40 +01:00
cmake Merge branch 'cef-docs' 2024-01-24 17:44:01 +01:00
msw Merge branch 'cef-docs' 2024-01-24 17:44:01 +01:00
osx Change wxRendererNative to use NSCell-based methods under Mac 2023-11-17 01:12:49 +01:00
tools Remove GLU dependency 2023-12-28 14:49:42 -08:00
autogen.mk Remove configure.in to configure.ac 2023-07-24 00:11:26 +02:00
files Add wxRendererNative implementation for wxQt 2024-01-23 03:22:06 +01:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h Remove support for wxMotif 2022-10-16 16:39:56 +02:00
upmake Remove wxGTK1 port and GPE support 2022-10-16 22:01:02 +02:00
upmake_script.pl Remove wxGTK1 port and GPE support 2022-10-16 22:01:02 +02:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.