Re: [AD] [A4.4.1.1SVN] 3 Patch Submissions |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2011-03-13, Edgar <edgarreynaldo@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> > The question is why CMAKE_EXE_LINKER_FLAGS_PROFILE is not working as
> > it should. I will take a look at it some time.
> From the naming, it sounds like that would only set linking flags for
> executables, but not for libraries.
I managed to find the CMAKE_SHARED_LINKER_FLAGS variable eventually.
Don't know where it is actually documented but it works here. Committed.
> > As far as I remember it should not be necessary as loadpng doesn't
> > call zlib functions directly.
>
> That may be correct, but a symbol from zlib.h is referenced on line 22
> of loadpng.c :
>
> int _png_compression_level = Z_BEST_COMPRESSION;
I see. I forgot about that.
Peter