Skip to content

Commit

Permalink
make pixman depend on pkgconfig too
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Sep 10, 2016
1 parent c183a20 commit bbd5fea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.macos32x86/third-party/pixman/Makefile.lib
Expand Up @@ -17,9 +17,14 @@ $(PIXMANDIR)/configure:
curl -L $(PIXMANURL) | tar x -C $(THIRDPARTYDIR)
touch $(PIXMANDIR)/configure

$(PIXMANLIB): $(PIXMANDIR)/configure
$(PIXMANLIB): pkgconfig $(PIXMANDIR)/configure
cd $(PIXMANDIR) \
&& ./configure --prefix='$(THIRDPARTYOUTDIR)' CFLAGS='-arch i386' LDFLAGS='-arch i386' \
&& ./configure \
--prefix='$(THIRDPARTYOUTDIR)' \
PKG_CONFIG="$(PKG_CONFIG)" \
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
CFLAGS='-arch i386' \
LDFLAGS='-arch i386' \
&& make \
&& make install
cp -f $(THIRDPARTYLIBDIR)/$(PIXMANLIBNAME) $(THIRDPARTYINSTALLDIR)
Expand Down

0 comments on commit bbd5fea

Please sign in to comment.