summaryrefslogtreecommitdiffstats
path: root/src/libpaper-1-fixes.patch
diff options
context:
space:
mode:
authordarealshinji <djcj@gmx.de>2018-05-24 23:33:28 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-05-28 02:20:41 (GMT)
commitcf866f2bea4c3075cc2aa60e127aeb43dccd6bf8 (patch)
tree599473516a3a29017bbcd86d8d7442c9fb0e3cd7 /src/libpaper-1-fixes.patch
parentb40d6b704ba40acffd8f319ec153eb12b2920d8b (diff)
downloadmxe-cf866f2bea4c3075cc2aa60e127aeb43dccd6bf8.zip
mxe-cf866f2bea4c3075cc2aa60e127aeb43dccd6bf8.tar.gz
mxe-cf866f2bea4c3075cc2aa60e127aeb43dccd6bf8.tar.bz2
libpaper: update to 1.1.24+nmu5, enable shared targets, install .pc file
Diffstat (limited to 'src/libpaper-1-fixes.patch')
-rw-r--r--src/libpaper-1-fixes.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libpaper-1-fixes.patch b/src/libpaper-1-fixes.patch
new file mode 100644
index 0000000..b035b21
--- /dev/null
+++ b/src/libpaper-1-fixes.patch
@@ -0,0 +1,23 @@
+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: darealshinji <djcj@gmx.de>
+Date: Fri, 25 May 2018 01:21:03 +0200
+Subject: [PATCH 1/1] enable DLL builds
+
+
+diff --git a/lib/Makefile.am b/lib/Makefile.am
+index 1111111..2222222 100644
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -1,7 +1,7 @@
+
+ lib_LTLIBRARIES = libpaper.la
+ libpaper_la_SOURCES = dimen.c paper.c dimen.h paperspecs.h
+-libpaper_la_LDFLAGS = -version-info 2:2:1
++libpaper_la_LDFLAGS = -no-undefined -version-info 2:2:1
+ libpaper_la_CPPFLAGS = -D_REENTRANT
+
+ BUILT_SOURCES = paperspecs.h