summarylogtreecommitdiffstats
path: root/0001-Fix-Makefile.patch
blob: 7346b28e070b45221fcc80981394416340cb9735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/src/Makefile
+++ b/src/Makefile
@@ -41,6 +41,7 @@
 		plugins/$*.o						\
 		-shared							\
 		$(CFLAGS)						\
+		-lm								\
 		-fvisibility=hidden					\
 		-fvisibility-inlines-hidden				\
 		-s							\
@@ -52,6 +53,7 @@
 		plugins/$*.o						\
 		-shared							\
 		$(CXXFLAGS)						\
+		-lm								\
 		-fvisibility=hidden					\
 		-fvisibility-inlines-hidden				\
 		-s							\
@@ -77,10 +79,8 @@
 install:	targets
 	-mkdir -p $(INSTALL_PLUGINS_DIR)
 	-mkdir -p $(INSTALL_INCLUDE_DIR)
-	-mkdir -p $(INSTALL_BINARY_DIR)
 	cp ../plugins/* $(INSTALL_PLUGINS_DIR)
 	cp ladspa.h $(INSTALL_INCLUDE_DIR)
-	cp ../bin/* $(INSTALL_BINARY_DIR)
 
 /tmp/test.wav:	targets ../snd/noise.wav
 	../bin/listplugins
@@ -98,7 +98,7 @@
 				../plugins/delay.so delay_5s 1 0.1	\
 				../plugins/amp.so amp_mono 4		\
 
-targets:	$(PLUGINS) $(PROGRAMS)
+targets:	$(PLUGINS)
 
 ###############################################################################
 #