diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-14 00:27:42 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-11-14 01:55:01 +0200 |
commit | 47b383087d5e391caecf46bf621db48772f174da (patch) | |
tree | e55f98db5a21cd48cd5cd85fd028e95be35417ae /set_soenv.in | |
parent | 79ffe3c27c7130b279478ae137932608a68b3c3c (diff) |
Avoid silly -Lno_x_libraries (for Android, which is Linux, but without X11)
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-x | set_soenv.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/set_soenv.in b/set_soenv.in index 35ab64e2aa8d..f0cee2105d4c 100755 --- a/set_soenv.in +++ b/set_soenv.in @@ -1220,7 +1220,7 @@ elsif ($platform =~ m/linux|netbsd|aix|freebsd|openbsd|dragonfly/) if ($platform =~ m/openbsd/) { $SOLARLIB .= $L.$USR_LOCAL.$LIB; } - if ( $XLIB ne "/usr/lib" && $XLIB ne "/usr/lib64" ) { + if ( $XLIB ne "/usr/lib" && $XLIB ne "/usr/lib64" && $XLIB ne "no_x_libraries" ) { $SOLARLIB .= $L.$XLIB; } $JAVALIB = $L.'$JAVA_HOME'.$LIB64. |