summaryrefslogtreecommitdiff
blob: b6edbb88b3e0aed51cad8c5b77e36c3f4d3a5660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nru gammu-1.09.00.orig/cfg/Makefile.glo gammu-1.09.00/cfg/Makefile.glo
--- gammu-1.09.00.orig/cfg/Makefile.glo	2006-11-17 00:43:26.000000000 +0200
+++ gammu-1.09.00/cfg/Makefile.glo	2006-12-01 08:54:58.550751904 +0200
@@ -127,7 +127,7 @@
 
 $(TOPDIR)/gammu/gammu: $(COMMON) $(GAMMU)
 	@echo Linking gammu
-	@$(CC) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu $(LDFLAGS)
+	@$(CC) $(LDFLAGS) $(COMMON) $(GAMMU) $(LDLIBS) $(GAMMU_CFLAGS) $(GAMMU_LIBS) $(SMSD_LIBS) -o $(TOPDIR)/gammu/gammu
 
 gammu: $(TOPDIR)/gammu/gammu
 
@@ -137,7 +137,7 @@
 
 $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR): $(COMMON)
 	@echo Linking libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
-	@$(CC) $(LDLIBS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(COMMON) $(LDFLAGS)
+	@$(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libGammu.so.$(SONAME_MAJOR) $(COMMON) $(LDLIBS) -o $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR)
 	@$(LN) -s libGammu.so.$(SONAME_MAJOR).$(SONAME_MINOR) $(TOPDIR)/common/libGammu.so.$(SONAME_MAJOR)
 	@$(LN) -s libGammu.so.$(SONAME_MAJOR) $(TOPDIR)/common/libGammu.so