summaryrefslogtreecommitdiff
path: root/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/emelfm2/emelfm2-0.8.0-dsofix.patch')
-rw-r--r--extra/emelfm2/emelfm2-0.8.0-dsofix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/emelfm2/emelfm2-0.8.0-dsofix.patch b/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
new file mode 100644
index 000000000..e9eb12405
--- /dev/null
+++ b/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2011-06-06 11:10:28.000000000 +0200
++++ b/Makefile 2012-02-27 18:20:11.000000000 +0100
+@@ -382,7 +382,7 @@
+
+ $(TARGET): $(OBJECTS)
+ @echo "linking binary '$(TARGET)'"
+- @$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -Wl,--as-needed $(lLIBS)
++ @$(CC) $(LDFLAGS) $(OBJECTS) -o $(TARGET) -lm -ldl -Wl,--as-needed $(lLIBS)
+ ifeq ($(STRIP), 1)
+ ifneq ($(DEBUG), 1)
+ @echo "stripping binary '$(TARGET)'"