summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/vlock/files/vlock-2.2.2-asneeded.patch')
-rw-r--r--app-misc/vlock/files/vlock-2.2.2-asneeded.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-misc/vlock/files/vlock-2.2.2-asneeded.patch b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
new file mode 100644
index 000000000000..8baeed37caf6
--- /dev/null
+++ b/app-misc/vlock/files/vlock-2.2.2-asneeded.patch
@@ -0,0 +1,11 @@
+--- tests/Makefile.old 2008-10-16 13:48:37.000000000 +0200
++++ tests/Makefile 2008-10-16 13:48:53.000000000 +0200
+@@ -16,7 +16,7 @@
+ TEST_SOURCES = $(TESTED_SOURCES:%=test_%)
+ TEST_OBJECTS = $(TEST_SOURCES:.c=.o)
+
+-vlock-test : override LDFLAGS+=-lcunit
++vlock-test : override LDLIBS+=-lcunit
+ vlock-test: vlock-test.o $(TEST_OBJECTS) $(TESTED_OBJECTS)
+
+ vlock-test.o: $(TEST_SOURCES:.c=.h)