]> git.pld-linux.org Git - packages/54321.git/commitdiff
- fix linking
authorsparky <sparky@pld-linux.org>
Sun, 5 Nov 2006 21:43:49 +0000 (21:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    54321-linking.patch -> 1.1

54321-linking.patch [new file with mode: 0644]

diff --git a/54321-linking.patch b/54321-linking.patch
new file mode 100644 (file)
index 0000000..d341330
--- /dev/null
@@ -0,0 +1,24 @@
+diff -Nur 54321.orig/GNUmakefile 54321.linking/GNUmakefile
+--- 54321.orig/GNUmakefile     2001-11-15 20:19:15.000000000 +0000
++++ 54321.linking/GNUmakefile  2006-11-05 21:42:09.000000000 +0000
+@@ -162,7 +162,7 @@
+ $(TARGET):    $(OBJS)
+       -@$(MKDIR_CMD)
+-      $(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
++      $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+       $(STRIP) $@
+ ifdef HAS_NOWEB
+diff -Nur 54321.orig/archs/Linux/variables.GNU 54321.linking/archs/Linux/variables.GNU
+--- 54321.orig/archs/Linux/variables.GNU       2006-11-05 21:41:33.000000000 +0000
++++ 54321.linking/archs/Linux/variables.GNU    2006-11-05 21:41:45.000000000 +0000
+@@ -9,7 +9,7 @@
+ SDL_IMAGE := /usr
+ CPPFLAGS += -I${SDL}/include/SDL -I${SDL_IMAGE}/include/SDL
+-LDFLAGS += \
++LIBS += \
+       -L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \
+       -L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \
+       -lSDL_image -lSDL -lSDLmain -lpthread -lpng
This page took 0.087257 seconds and 4 git commands to generate.