summaryrefslogtreecommitdiff
path: root/extra/emelfm2/emelfm2-0.8.0-dsofix.patch
blob: e9eb1240503a5ecbc590ad3db0d92f8e00a37944 (plain)
1
2
3
4
5
6
7
8
9
10
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)'"