Apache OpenOffice (AOO) Bugzilla – Issue 41626
mozooo: Use DLLPOST and DLLPRE
Last modified: 2005-08-19 06:28:34 UTC
Hi, current extensionfiles.mk contains: # LINRARY_FILENAME=$(LIB_PREFIX)$(NAME_BODY).$(LIB_EXTENSION) # For example:xpcom in unix is (lib)xpcom(.)(so), in win32 is ()xpcom(.)(dll) .IF "$(GUI)"=="WNT" LIB_PREFIX= LIB_EXTENSION=dll .ELSE #"$(GUI)"=="WNT" LIB_PREFIX=lib LIB_EXTENSION=so .ENDIF This is a duplicated (and not complete) rework of DLLPOST and DLLPRE from e.g. inc/wnt.mk and similar environmental files. Please use already provided system, because otherwise you are breaking e.g. MacOS X builds.
I'll attach sample patch. It contains one invalid change: I'm cheating on MacOS X and I do not use GNU cp -> I have to remove -L argument.
Created attachment 22013 [details] Use DLLPRE and DLLPOST instead of own magic.
set target.
verifed on linux and solaris
The patch at least partially fails when applying it on Mac OS X. The error message I get is: [Maveric:680_m71/build/moz] maveric% patch -p0 < /Volumes/Daten/OpenOffice/680_m71/patches/moz_build/mozooo-macosx_dylib.diff patching file extractfiles.mk Hunk #6 FAILED at 275. 1 out of 8 hunks FAILED -- saving rejects to file extractfiles.mk.rej If anyones interested I can attach the extractfiles.mk.rej or send it via private Mail.
It is maybe based on a old version. I had checked in it. So you can use cvs update to get it.
looks likewe can also mark this as FIXED too. Right?
set to fixed thanks
to me this looks like the patch made it into the CWS' CVS ..
close issue.