summaryrefslogtreecommitdiff
path: root/recipes/liblockfile/liblockfile-1.06/ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/liblockfile/liblockfile-1.06/ldflags.patch')
-rw-r--r--recipes/liblockfile/liblockfile-1.06/ldflags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/liblockfile/liblockfile-1.06/ldflags.patch b/recipes/liblockfile/liblockfile-1.06/ldflags.patch
new file mode 100644
index 0000000000..eb1d1478b8
--- /dev/null
+++ b/recipes/liblockfile/liblockfile-1.06/ldflags.patch
@@ -0,0 +1,21 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- liblockfile-1.05/Makefile.in~ldflags
++++ liblockfile-1.05/Makefile.in
+@@ -34,11 +34,11 @@
+
+ liblockfile.so: liblockfile.a
+ $(CC) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
+- -o liblockfile.so lockfile.o -lc
++ -o liblockfile.so lockfile.o $(LDFLAGS) -lc
+
+ nfslock.so.$(VER): nfslock.o
+ $(CC) -fPIC -shared -Wl,-soname,nfslock.so.0 \
+- -o nfslock.so.$(NVER) nfslock.o
++ -o nfslock.so.$(NVER) nfslock.o $(LDFLAGS)
+
+ dotlockfile: dotlockfile.o xlockfile.o
+ $(CC) $(LDFLAGS) -o dotlockfile dotlockfile.o xlockfile.o