[AD] fix for bcc32

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]

The addition of LIBRARY to the allegro.def file (for DMC) ended up
breaking the bcc32 port. For some reason, it requires the LIBRARY
directive to be the first line, before comments, etc. So the bcc32
make file already appends LIBRARY to the top. So it ends up something

LIBRARY alleg42.dll
; generated by fix.sh

The second LIBRARY line breaks it. Attached is a patch that alters the
existing sed instruction to delete the second line of the def file for
bcc32. Tested under cygwin.

Other than that, it can "build" Allegro 4.2.2. Not that it's
surprising, considering all it does is run implib against existing

Matthew Leverton

Attachment: bcc-fixdll.sh.diff
Description: Binary data

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/