Qtopia-interest Archive, August 2007
Small feature for the configure script
Message 1 in thread
Hi,
a small feature for the configure script. This is a small convience
and helps if one indirectly links to certain libraries (e.g
libQtSvg). See ld(1) for what -rpath-link is doing. This avoids
adding it via the -L option of the configure script...
z.
diff --git a/configure b/configure
index d919a34..4cb0b08 100755
--- a/configure
+++ b/configure
@@ -373,6 +373,12 @@ set_optvar( "rpath", +{
"config_pri" => [ "!isEmpty(QTOPIA_RPATH):EMBEDDED_RPATH=\$\$
{QTOPIA_RPATH}%{prefix}",
"CONFIG+=enable_rpath" ],
});
+set_optvar( "rpath-link", +{
+ "set" => [ "%", "rpath for linking."],
+ "default" => 0,
+ "showauto" => 1,
+ "config_pri" => "QMAKE_LFLAGS+=-Wl,-rpath-link,$QTEDIR/lib",
+});
add_separator();
set_optvar( "posix_locks", +{
"set" => [ "%", "Use POSIX file locking." ],
--
[ signature omitted ]
Message 2 in thread
Forwarded to the relevant coder. He's researching/evaluating it. Wants
to know why you'd not do this on a per-project basis, rather than qtopia
wide as a whole.
Holger Freyther wrote:
> Hi,
>
> a small feature for the configure script. This is a small convience
> and helps if one indirectly links to certain libraries (e.g libQtSvg).
> See ld(1) for what -rpath-link is doing. This avoids adding it via the
> -L option of the configure script...
>
> z.
>
>
>
>
> diff --git a/configure b/configure
> index d919a34..4cb0b08 100755
> --- a/configure
> +++ b/configure
> @@ -373,6 +373,12 @@ set_optvar( "rpath", +{
> "config_pri" => [
> "!isEmpty(QTOPIA_RPATH):EMBEDDED_RPATH=\$\${QTOPIA_RPATH}%{prefix}",
> "CONFIG+=enable_rpath" ],
> });
> +set_optvar( "rpath-link", +{
> + "set" => [ "%", "rpath for linking."],
> + "default" => 0,
> + "showauto" => 1,
> + "config_pri" => "QMAKE_LFLAGS+=-Wl,-rpath-link,$QTEDIR/lib",
> +});
> add_separator();
> set_optvar( "posix_locks", +{
> "set" => [ "%", "Use POSIX file locking." ],
>
> --
> To unsubscribe - send "unsubscribe" in the subject to
> qtopia-interest-request@xxxxxxxxxxxxx
>
>
--
[ signature omitted ]