mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-15 00:41:47 +00:00
cb6fceef45
avoid cross-compiled library suffices fix detection of png and tiff
35 lines
697 B
Diff
35 lines
697 B
Diff
--- a/configure
|
|
+++ b/configure
|
|
@@ -3894,15 +3894,6 @@
|
|
|
|
|
|
|
|
-if test "$cross_compiling" != "no"; then
|
|
- HOST_PREFIX="${host_alias}-"
|
|
- HOST_SUFFIX="-$host_alias"
|
|
-else
|
|
- HOST_PREFIX=
|
|
- HOST_SUFFIX=
|
|
-fi
|
|
-
|
|
-
|
|
wx_major_version_number=3
|
|
wx_minor_version_number=0
|
|
wx_release_number=5
|
|
@@ -22421,6 +22412,7 @@
|
|
|
|
#include <png.h>
|
|
#include <stdio.h>
|
|
+ #include <stdlib.h>
|
|
|
|
int main()
|
|
{
|
|
@@ -22667,7 +22659,7 @@
|
|
|
|
|
|
TIFF_LINK=
|
|
-TIFF_PREREQ_LINKS=-lm
|
|
+TIFF_PREREQ_LINKS="-llzma -lwebp -lzstd"
|
|
if test "$wxUSE_LIBTIFF" != "no" ; then
|
|
$as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
|
|
|