Add a linker rpath so libwine can be found without modifying
ld.so.conf or LD_LIBRARY_PATH
Alexandre Julliard
julliard at winehq.org
Mon Aug 9 18:03:12 CDT 2004
Mike Hearn <mike at navi.cx> writes:
> --- Make.rules.in.~1.172.~ 2004-03-24 03:34:01.000000000 +0000
> +++ Make.rules.in 2004-08-02 22:57:38.868759456 +0100
> @@ -78,6 +78,7 @@
> LIBPORT = -L$(TOPOBJDIR)/libs/port -lwine_port
> LIBUNICODE = -L$(TOPOBJDIR)/libs/unicode -lwine_unicode
> LIBWINE = -L$(TOPOBJDIR)/libs/wine -lwine
> +RPATH = -Wl,-rpath,'$${ORIGIN}/../lib'
You cannot depend on libdir being ../lib, users can specify a
different one.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list