mirror of https://github.com/acidanthera/audk.git
Build the compress library on Linux and OS X.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@190 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3bc2b3af0e
commit
5225ad3386
|
@ -72,7 +72,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
</if>
|
||||
</target>
|
||||
|
||||
<target name="Lib" depends="init" unless="gcc">
|
||||
<target name="Lib" depends="init">
|
||||
<cc name="${ToolChain}"
|
||||
objdir="${BUILD_DIR}"
|
||||
outtype="shared"
|
||||
|
@ -85,7 +85,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
<includepath path="${env.WORKSPACE}/MdePkg/Include/Common"/>
|
||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||
<includepath path="${env.JAVA_HOME}/include"/>
|
||||
<includepath path="${env.JAVA_HOME}/include/win32"/>
|
||||
<includepath path="${env.JAVA_HOME}/include/win32" if="windows"/>
|
||||
<includepath path="${env.JAVA_HOME}/include/linux" if="linux"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools"/>
|
||||
<syslibset libs="kernel32" unless="gcc"/>
|
||||
</cc>
|
||||
|
|
|
@ -75,6 +75,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
</then>
|
||||
</if>
|
||||
|
||||
<condition property="linux" value="true">
|
||||
<os name="Linux"/>
|
||||
</condition>
|
||||
|
||||
<condition property="windows" value="true">
|
||||
<os family="Windows"/>
|
||||
</condition>
|
||||
|
||||
<condition property="OSX" value="true">
|
||||
<os family="Mac"/>
|
||||
</condition>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="Libraries">
|
||||
|
|
Loading…
Reference in New Issue