[ros-diffs] [tkreuzer] 46802: [DXTN/LIBJPG] Apply dllexport hack

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Apr 10 01:44:48 CEST 2010


Author: tkreuzer
Date: Sat Apr 10 01:44:37 2010
New Revision: 46802

URL: http://svn.reactos.org/svn/reactos?rev=46802&view=rev
Log:
[DXTN/LIBJPG]
Apply dllexport hack

Modified:
    branches/ros-amd64-bringup/reactos/dll/3rdparty/dxtn/dxtn.rbuild
    branches/ros-amd64-bringup/reactos/dll/3rdparty/libjpeg/libjpeg.rbuild

Modified: branches/ros-amd64-bringup/reactos/dll/3rdparty/dxtn/dxtn.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/3rdparty/dxtn/dxtn.rbuild?rev=46802&r1=46801&r2=46802&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/3rdparty/dxtn/dxtn.rbuild [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/dll/3rdparty/dxtn/dxtn.rbuild [iso-8859-1] Sat Apr 10 01:44:37 2010
@@ -1,5 +1,9 @@
 <module name="dxtn" type="win32dll" entrypoint="0" installbase="system32" installname="dxtn.dll" allowwarnings="true" crt="msvcrt">
 	<importlibrary definition="dxtn.spec" />
+	<if property="ARCH" value="amd64">
+		<!-- Gross hack to work around broken autoexport -->
+		<define name="dllexport">aligned(1)</define>
+	</if>
 	<include base="dxtn">.</include>
 	<file>fxt1.c</file>
 	<file>dxtn.c</file>

Modified: branches/ros-amd64-bringup/reactos/dll/3rdparty/libjpeg/libjpeg.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/3rdparty/libjpeg/libjpeg.rbuild?rev=46802&r1=46801&r2=46802&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/3rdparty/libjpeg/libjpeg.rbuild [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/dll/3rdparty/libjpeg/libjpeg.rbuild [iso-8859-1] Sat Apr 10 01:44:37 2010
@@ -6,6 +6,10 @@
 	<define name="_WINDOWS" />
 	<define name="_MBCS" />
 	<define name="JPEG_DLL" />
+	<if property="ARCH" value="amd64">
+		<!-- Gross hack to work around broken autoexport -->
+		<define name="dllexport">aligned(1)</define>
+	</if>
 	<include base="libjpeg">.</include>
 	<file>jcapimin.c</file>
 	<file>jcapistd.c</file>




More information about the Ros-diffs mailing list