summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch')
-rw-r--r--sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch b/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch
new file mode 100644
index 000000000000..f90242c7e444
--- /dev/null
+++ b/sys-libs/libfaketime/files/libfaketime-0.9-as-needed.patch
@@ -0,0 +1,11 @@
+--- libfaketime-0.9/src/Makefile.orig
++++ libfaketime-0.9/src/Makefile
+@@ -69,7 +69,7 @@
+ ${CC} -o $@ -c ${CFLAGS} ${EXTRA_FLAGS} $<
+
+ lib%.so.${SONAME}: %.o
+- ${CC} -o $@ -Wl,-soname,$@ ${LDFLAGS} $<
++ ${CC} -o $@ -Wl,-soname,$@ $< ${LDFLAGS}
+
+ clean:
+ @rm -f ${OBJ} ${LIBS}