---
build-support/factor.sh | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
I use this because, last time I checked, even if the deploy file
specifies "don't include UI support", the executable still links to the
UI libraries.
diff --git a/build-support/factor.sh b/build-support/factor.sh
index 4943d3e..c49b247 100755
--- a/build-support/factor.sh
+++ b/build-support/factor.sh
@@ -11,7 +11,7 @@ ECHO=echo
OS=
ARCH=
WORD=
-NO_UI=
+NO_UI=${NO_UI-}
GIT_PROTOCOL=${GIT_PROTOCOL:="git"}
GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://factorcode.org/git/factor.git"}
SCRIPT_ARGS="$*"
@@ -147,9 +147,11 @@ check_library_exists() {
}
check_X11_libraries() {
- check_library_exists GL
- check_library_exists X11
- check_library_exists pango-1.0
+ if [ -z "$NO_UI" ]; then
+ check_library_exists GL
+ check_library_exists X11
+ check_library_exists pango-1.0
+ fi
}
check_libraries() {
--
1.5.6.5
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk