mirror of https://git.wownero.com/dsc/mxe.git
hardcode the --static argument into i686-pc-mingw32-pkg-config
This commit is contained in:
parent
3a464b819d
commit
834421011b
|
@ -80,7 +80,7 @@ define $(PKG)_BUILD
|
|||
|
||||
# create pkg-config script
|
||||
(echo '#!/bin/sh'; \
|
||||
echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config "$$@"') \
|
||||
echo 'PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \
|
||||
> '$(PREFIX)/bin/$(TARGET)-pkg-config'
|
||||
chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config'
|
||||
endef
|
||||
|
|
|
@ -31,6 +31,6 @@ define $(PKG)_BUILD
|
|||
|
||||
'$(TARGET)-gcc' \
|
||||
-W -Wall -Werror -ansi -pedantic \
|
||||
`'$(TARGET)-pkg-config' sdl --cflags --static --libs` \
|
||||
`'$(TARGET)-pkg-config' sdl --cflags --libs` \
|
||||
'$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-sdl.exe'
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue