| Summary: |
libAppleWM (MAC OS only) attempts to build on all platforms |
| Product: |
xorg
|
Reporter: |
Gaetan Nadon <memsize> |
| Component: |
Build/Modular | Assignee: |
Gaetan Nadon <memsize> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
trivial
|
|
|
| Priority: |
low
|
CC: |
jeremyhu
|
| Version: |
git | Keywords: |
janitor |
| Hardware: |
x86-64 (AMD64) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
While doing a full build (Linux) on xorg product using build.sh, the build failed due to missing include files in libAppleWM. This component states in the man page that it is for MAC OS only. I intend to fix this problem by adding a condition in build.sh such that it only builds this lib when the target OS is "Darwin". A design is already in place for such purpose in build.sh. I found a case statement in build.sh where "Darwin*" is used rather than Darwin. I have found several instances on the net where "Darwin" was used as the OS name, so I have chosen to use that. diff --git a/build.sh b/build.sh index b548187..6e7979e 100755 --- a/build.sh +++ b/build.sh @@ -249,7 +249,9 @@ build_lib() { fi build lib libX11 build lib libXext - build lib libAppleWM + if [ "$HOST_OS" = "Darwin" ] ; then + build lib libAppleWM + fi build lib libWindowsWM build lib libdmx build lib libfontenc There might be a better solution through software standards or at the architecture level, but my short goal is to fix build breakage.