diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-02-09 12:29:51 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-02-09 12:29:51 (GMT) |
commit | 57fa8e075ed02e7f062dceefce8c8342d3e23e82 (patch) | |
tree | 9525c440daeda63e0993c0eb2bc2c72a526c2e2d /src/jpeg.mk | |
parent | 6cf952d7a86d8933bb2fff6f1acada1c02809556 (diff) | |
download | mxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.zip mxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.tar.gz mxe-57fa8e075ed02e7f062dceefce8c8342d3e23e82.tar.bz2 |
package qt4 and dependencies: enable shared builds
Diffstat (limited to 'src/jpeg.mk')
-rw-r--r-- | src/jpeg.mk | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/jpeg.mk b/src/jpeg.mk index 561728a..38504d7 100644 --- a/src/jpeg.mk +++ b/src/jpeg.mk @@ -18,13 +18,19 @@ endef define $(PKG)_BUILD cd '$(1)' && ./configure \ - --prefix='$(PREFIX)/$(TARGET)' \ - --host='$(TARGET)' \ - --disable-shared + $(MXE_CONFIGURE_OPTS) $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= + # create pkg-config file + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/pkgconfig' + (echo 'Name: jpeg'; \ + echo 'Version: 0'; \ + echo 'Description: jpeg'; \ + echo 'Libs: -ljpeg';) \ + > '$(PREFIX)/$(TARGET)/lib/pkgconfig/jpeg.pc' + '$(TARGET)-gcc' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-jpeg.exe' \ - -ljpeg + `'$(TARGET)-pkg-config' jpeg --libs` endef |