Module: xenomai-rpm
Branch: for-upstream
Commit: 7b274d9fe724bb62c33ddd6f9407b2d7f85718e4
URL:    
http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=7b274d9fe724bb62c33ddd6f9407b2d7f85718e4

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Mar  3 11:53:31 2010 +0100

scripts: fix xeno-config to return proper POSIX cflags

---

 scripts/xeno-config.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scripts/xeno-config.in b/scripts/xeno-config.in
index e3e1b56..15ded86 100644
--- a/scripts/xeno-config.in
+++ b/scripts/xeno-config.in
@@ -19,6 +19,7 @@ XENO_POSIX_LDFLAGS="-L${staging}${libdir} -lpthread_rt 
-lxenomai -lpthread -lrt
 XENO_POSIX_WRAPPERS="${staging}${libdir}/posix.wrappers"
 XENO_POSIX_FAST_WRAPPING="@LD_FILE_OPTION@"
 XENO_LIBRARY_DIR="${staging}${libdir}"
+XENO_INCLUDE_DIR="${staging}${includedir}"
 
 unset prefix exec_prefix libdir datadir datarootdir pkgdatadir includedir
 
@@ -119,7 +120,7 @@ while test $# -gt 0; do
                    if [ "x$skin" = "xpsos" ]; then
                        skin="psos+"
                    fi
-                   echo $XENO_BASE_CFLAGS -I${staging}${includedir}/$skin
+                   echo $XENO_BASE_CFLAGS -I$XENO_INCLUDE_DIR/$skin
                    ;;
                "")
                    echo skin not set, please pass --skin before --cflags 1>&2


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to