http://bugzilla.novell.com/show_bug.cgi?id=555081


           Summary: include path should include $BUILD_INSTALL/include
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: MonkeyWrench
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


monobuild created an env.sh file that got sourced before each step which
contained the following:

PKG_CONFIG_PATH="/tmp/build_deps/share/pkgconfig:/tmp/build_deps/lib/pkgconfig:$PKG_CONFIG_PATH"
PATH="/tmp/build_deps/bin:$PATH"
LDFLAGS="-L/tmp/build_deps/lib $LDFLAGS"
CPPFLAGS="-I/tmp/build_deps/include $CPPFLAGS"
LD_LIBRARY_PATH="/tmp/build_deps/lib:$LD_LIBRARY_PATH"
MANPATH="/tmp/build_deps/share/man:/tmp/build_deps/man:$MANPATH"
PERL5LIB="/tmp/build_deps/lib/perl5/site_perl:$PERL5LIB"
export PKG_CONFIG_PATH PATH LDFLAGS CPPFLAGS LD_LIBRARY_PATH MANPATH PERL5LIB

At the very least we need to prime the include path so that zlib is detected
properly during the mono build.  We may also need (or want) to prime LDFLAGS
and/or CPPFLAGS.  And the share/pkgconfig thing might be correct too.

I'm not sure how much of this really belongs in MonkeyWrench.  I'm going to try
to add the LDFLAGS and CPPFLAGS in the variables for the host and hope that
works for now.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to