diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-10-31 05:59:33 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-10-31 06:02:42 (GMT) |
commit | a9982192ff679f20bfc8f0038eb252339d017f3a (patch) | |
tree | f2accee59e42a8b9cbe318a6171970504ebbf3ec /src/libqrencode-1-fixes.patch | |
parent | 8ad7be0160d3f3d541d7901d6fbd7e1efa095f21 (diff) | |
download | mxe-a9982192ff679f20bfc8f0038eb252339d017f3a.zip mxe-a9982192ff679f20bfc8f0038eb252339d017f3a.tar.gz mxe-a9982192ff679f20bfc8f0038eb252339d017f3a.tar.bz2 |
qrencode: rename to libqrencode, update, and switch to cmake
- autotools build didn't produce shared libs
- libpng and sdl are only required for tools/tests
- build test using supplied pkg-config file
Diffstat (limited to 'src/libqrencode-1-fixes.patch')
-rw-r--r-- | src/libqrencode-1-fixes.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/libqrencode-1-fixes.patch b/src/libqrencode-1-fixes.patch new file mode 100644 index 0000000..1352760 --- /dev/null +++ b/src/libqrencode-1-fixes.patch @@ -0,0 +1,26 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +Contains ad hoc patches for cross building. + +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Tony Theodore <tonyt@logyst.com> +Date: Tue, 31 Oct 2017 16:56:24 +1100 +Subject: [PATCH] install *.dll to bin + +taken from: +https://github.com/fukuchi/libqrencode/issues/112 + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1111111..2222222 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -120,7 +120,8 @@ configure_file(libqrencode.pc.in libqrencode.pc @ONLY) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qrencode.1 DESTINATION share/man/man1) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION lib/pkgconfig) + install(FILES qrencode.h DESTINATION include) +-install(TARGETS qrencode DESTINATION lib) ++install(TARGETS qrencode DESTINATION lib ++ RUNTIME DESTINATION bin) + + ## Build utility tools + if(WITH_TOOLS AND TARGET PNG::PNG) |