Package: sl-modem / 2.9.11~20110321-11

clean_LFLAGS.diff Patch series | download
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
Description: Just set LFLAGS to -lasound, also rename it to LDFLAGS
Forwarded: yes
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@users.sourceforge.net>
--- a/modem/Makefile
+++ b/modem/Makefile
@@ -41,19 +41,14 @@
 
 ifdef SUPPORT_ALSA
 CFLAGS+= -DSUPPORT_ALSA=1
-ifeq ($(ARCH64), 0)
-LFLAGS+= /usr/lib/libasound.so
-else
-# LFLAGS+= /usr/lib32/libasound.so , replaced by -l commands search for asound
-LFLAGS+= -lasound
-endif
+LDFLAGS+= -lasound
 endif
 
 slmodemd:
-	$(CC) -o slmodemd modem_main.o $(all-objs) $(LFLAGS)
+	$(CC) -o slmodemd modem_main.o $(all-objs) $(LDFLAGS)
 
 modem_test:
-	$(CC) -o modem_test modem_test.o $(all-objs) $(LFLAGS)
+	$(CC) -o modem_test modem_test.o $(all-objs) $(LDFLAGS)
 
 clean:
 	$(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)