[libgd] Fix static build (#6307)

* Revert libgd portfile change from 5ea9105

This makes libgd static buildable again

* Undo reversion of -DBUILD_SHARED_LIBS. This is not necessary.
This commit is contained in:
Jackie Ng 2019-05-07 03:48:07 +10:00 committed by Victor Romero
parent 7028438a75
commit 4256a7cd07
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Source: libgd
Version: 2.2.5-1
Version: 2.2.5-2
Description: Open source code library for the dynamic creation of images by programmers.
Default-Features: fontconfig, freetype, jpeg, png, tiff, webp

View File

@ -65,6 +65,7 @@ vcpkg_configure_cmake(
-DENABLE_FREETYPE=${ENABLE_FREETYPE}
-DENABLE_WEBP=${ENABLE_WEBP}
-DENABLE_FONTCONFIG=${ENABLE_FONTCONFIG}
-DBUILD_STATIC_LIBS=${LIBGD_STATIC_LIBS}
)
vcpkg_build_cmake()