summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-11-14 00:27:42 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-11-14 01:55:01 +0200
commit47b383087d5e391caecf46bf621db48772f174da (patch)
treee55f98db5a21cd48cd5cd85fd028e95be35417ae /set_soenv.in
parent79ffe3c27c7130b279478ae137932608a68b3c3c (diff)
Avoid silly -Lno_x_libraries (for Android, which is Linux, but without X11)
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-xset_soenv.in2
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.