diff options
author | Mark Brand <mabrand@mabrand.nl> | 2010-06-25 22:37:25 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2010-06-25 22:37:25 (GMT) |
commit | 9a949cb41f107dc18f24c6be3651b03773055597 (patch) | |
tree | 8618f47c1e041856b1b59d6a98a76883281ba608 /src/libmng.mk | |
parent | ab12b85a6786017a7df8b209fcb5c14f4a30f823 (diff) | |
download | mxe-9a949cb41f107dc18f24c6be3651b03773055597.zip mxe-9a949cb41f107dc18f24c6be3651b03773055597.tar.gz mxe-9a949cb41f107dc18f24c6be3651b03773055597.tar.bz2 |
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.
Diffstat (limited to 'src/libmng.mk')
-rw-r--r-- | src/libmng.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmng.mk b/src/libmng.mk index 1db6e4d..945c4cb 100644 --- a/src/libmng.mk +++ b/src/libmng.mk @@ -21,7 +21,7 @@ endef 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/' |