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.
This commit is contained in:
Mark Brand 2010-06-26 00:37:25 +02:00
parent ab12b85a67
commit 9a949cb41f
1 changed files with 1 additions and 1 deletions

View File

@ -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/'