ee1a237685
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on the configure command line. The need to add flags depends on the location of the headers and libraries of the dependencies, which is orthogonal to the directory where xrdp will be installed. The implementation in configure.ac has a stray closing bracket, making GOT_PREFIX true even if --prefix is not passed. The implementation is inconsistent - the only affected makefiles are for xrdp and libxrdp. Changing rpath manually is wrong in most cases. Libtool should be able to set rpath correctly on its own. Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems, /usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the rpath slows down 64-bit executables, as the dynamic loader searches for libraries in a wrong directory. There is no way to disable GOT_PREFIX if --prefix has to be passed. Fedora RPM patches configure.ac and needs to rerun autoconf and automake after that. |
||
---|---|---|
.. | ||
libxrdp.c | ||
libxrdp.h | ||
libxrdpinc.h | ||
Makefile.am | ||
xrdp_bitmap32_compress.c | ||
xrdp_bitmap_compress.c | ||
xrdp_caps.c | ||
xrdp_channel.c | ||
xrdp_fastpath.c | ||
xrdp_iso.c | ||
xrdp_jpeg_compress.c | ||
xrdp_mcs.c | ||
xrdp_mppc_enc.c | ||
xrdp_orders_rail.c | ||
xrdp_orders_rail.h | ||
xrdp_orders.c | ||
xrdp_rdp.c | ||
xrdp_sec.c | ||
xrdp_surface.c |