Mercurial > mxe-octave
changeset 1096:8b5594df8875
fixed export of symbols from libmng
When we buld libmng with MNG_BUILD_SO defined, as Qt does, the
problem of unresolved symbols when linking goes away. It is now
possible to use this "system" libmng with Qt. Tested with
Qt examples/widgets/imageviewer.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 26 Jun 2010 00:37:25 +0200 |
parents | e878941387e3 |
children | 93745bdf9745 |
files | src/libmng.mk |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libmng.mk Sun Aug 29 11:40:18 2010 +0200 +++ b/src/libmng.mk Sat Jun 26 00:37:25 2010 +0200 @@ -21,7 +21,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j '$(JOBS)' \ -f '$(1)'/makefiles/makefile.unix \ - CC=$(TARGET)-gcc + CC=$(TARGET)-gcc CFLAGS='-DMNG_BUILD_SO' $(TARGET)-ranlib '$(1)/libmng.a' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m644 '$(1)/libmng.a' '$(PREFIX)/$(TARGET)/lib/'