SPECS: crossmingw32-freetype.spec - fix shared library creation

Jakub Bogusz qboosh w pld-linux.org
Nie, 21 Paź 2007, 15:16:13 CEST


On Sun, Oct 21, 2007 at 12:12:39AM +0200, wolf wrote:
> Author: wolf                         Date: Sat Oct 20 22:12:39 2007 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - fix shared library creation
> 
> ---- Files affected:
> SPECS:
>    crossmingw32-freetype.spec (1.8 -> 1.9) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SPECS/crossmingw32-freetype.spec
> diff -u SPECS/crossmingw32-freetype.spec:1.8 SPECS/crossmingw32-freetype.spec:1.9
> --- SPECS/crossmingw32-freetype.spec:1.8	Fri Jul  6 21:41:39 2007
> +++ SPECS/crossmingw32-freetype.spec	Sun Oct 21 00:12:34 2007
> @@ -111,14 +111,59 @@
>  
>  %{__make}
>  
> +# link shared library
> +cd objs/.libs
> +%{__cc} \
> +	--shared *.o -llualib50 -llua50 -lm -o libfreetype.dll \
> +	-Wl,--enable-auto-image-base -Wl,--out-implib,libfreetype.dll.a -lz
> +cd ../..

Co było źle, żeby takie hacki robić?
I po co lua do freetype?


-- 
Jakub Bogusz    http://qboosh.pl/


Więcej informacji o liście dyskusyjnej pld-devel-pl