Commit 73373383 authored by Pavlov Konstantin's avatar Pavlov Konstantin

Fix for building mozilla plugin with mozilla-dev on non-debian systems

Needs more check, as i've only tested it on altlinux
parent b8a24c4a
...@@ -5162,6 +5162,7 @@ then ...@@ -5162,6 +5162,7 @@ then
]) ])
LDFLAGS="${LDFLAGS_save}" LDFLAGS="${LDFLAGS_save}"
fi fi
fi
mozilla=: mozilla=:
dnl Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150490 dnl Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=150490
VLC_ADD_CPPFLAGS([mozilla],[[`${MOZILLA_CONFIG} --cflags plugin xpcom java | sed 's,-I\([^ ]*\)/mozilla/\([^ ]*\),-I\1/\2 -I\1/mozilla/\2,g' | xargs`]]) VLC_ADD_CPPFLAGS([mozilla],[[`${MOZILLA_CONFIG} --cflags plugin xpcom java | sed 's,-I\([^ ]*\)/mozilla/\([^ ]*\),-I\1/\2 -I\1/mozilla/\2,g' | xargs`]])
...@@ -5182,7 +5183,6 @@ then ...@@ -5182,7 +5183,6 @@ then
else else
xpidl_path="`${MOZILLA_CONFIG} --prefix`/bin" xpidl_path="`${MOZILLA_CONFIG} --prefix`/bin"
fi fi
fi
dnl End of moz_sdk = "" dnl End of moz_sdk = ""
else else
dnl special case for mingw32 dnl special case for mingw32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment