mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-22 03:51:33 +00:00
patch zlib for proper .pc file creation
This commit is contained in:
parent
e6ee857f8b
commit
eecc89a899
1 changed files with 25 additions and 0 deletions
25
patch/zlib.patch
Normal file
25
patch/zlib.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -906,7 +906,6 @@
|
||||
/^ARFLAGS *=/s#=.*#=$ARFLAGS#
|
||||
/^RANLIB *=/s#=.*#=$RANLIB#
|
||||
/^EXE *=/s#=.*#=$EXE#
|
||||
-/^prefix *=/s#=.*#=$prefix#
|
||||
/^exec_prefix *=/s#=.*#=$exec_prefix#
|
||||
/^libdir *=/s#=.*#=$libdir#
|
||||
/^sharedlibdir *=/s#=.*#=$sharedlibdir#
|
||||
--- a/zlib.pc.in
|
||||
+++ b/zlib.pc.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-prefix=@prefix@
|
||||
+prefix=
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
sharedlibdir=@sharedlibdir@
|
||||
@@ -9,5 +9,5 @@
|
||||
Version: @VERSION@
|
||||
|
||||
Requires:
|
||||
-Libs: -L${libdir} -L${sharedlibdir} -lz
|
||||
+Libs: ${libdir}/libz.a
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in a new issue