File: ldflags.patch

package info (click to toggle)
sdlbasic 0.0.20070714-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,928 kB
  • sloc: cpp: 49,901; ansic: 19,236; yacc: 1,232; makefile: 1,033; sh: 64
file content (22 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Author: Miriam Ruiz <little_miry@yahoo.es>
Description: Add LDFLAGS to the makefile
Last-Update: 2008-09-13
--- a/src/sdlBasic/src/sdlBrt/makefile
+++ b/src/sdlBasic/src/sdlBrt/makefile
@@ -98,6 +98,7 @@
 DEJAVUSANS_TTF=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
 
 CFLAG= -Wall -g -O2 -I/usr/include/SDL -D_REENTRAT -DPLAY_MOD -DUNIX -DLINUX -DDEJAVUSANS_TTF=\"$(DEJAVUSANS_TTF)\"
+LDFLAGS=
 
 COMPILE=$(CPP) $(CFLAG)
 
@@ -303,7 +304,7 @@
 all: 		$(TARGET)
 
 $(TARGET):	$(OBJECT) $(RC)
-	$(COMPILE) -o $(TARGET) $^ $(LIBS)
+	$(COMPILE) -o $(TARGET) $^ $(LIBS) $(LDFLAGS)
 
 ifeq ($(stripped), yes)
 	    $(STRIP) $(TARGET)