libcaca: use pkg-config --static

GLUT is a beast. Really fixes #511.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
pull/513/head
Timothy Gu 10 years ago
parent 698c1e7f74
commit 42975a1b0c

@ -22,7 +22,9 @@ define $(PKG)_BUILD
$(if $(BUILD_STATIC), \
$(SED) -i 's/__declspec(dllimport)//' '$(1)/caca/caca.h'; \
$(SED) -i 's/__declspec(dllimport)//' '$(1)/caca/caca0.h')
cd '$(1)' && ./configure \
# Somehow glut *requires* -lopengl32 etc. even if it's built as shared
cd '$(1)' && PKG_CONFIG='i686-w64-mingw32.shared-pkg-config --static' \
./configure \
$(MXE_CONFIGURE_OPTS) \
--disable-csharp \
--disable-java \

Loading…
Cancel
Save