keylaunch-2.0.7: LDFLAGS Makefile fix
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 9 Mar 2006 14:29:55 +0000 (14:29 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 9 Mar 2006 14:29:55 +0000 (14:29 +0000)
packages/keylaunch/files/makefile-fix.patch [new file with mode: 0644]
packages/keylaunch/keylaunch_2.0.7.bb

diff --git a/packages/keylaunch/files/makefile-fix.patch b/packages/keylaunch/files/makefile-fix.patch
new file mode 100644 (file)
index 0000000..52260bf
--- /dev/null
@@ -0,0 +1,11 @@
+--- keylaunch-2.0.7/Makefile.orig      2006-02-02 17:44:53.000000000 +0100
++++ keylaunch-2.0.7/Makefile   2006-02-02 17:44:55.000000000 +0100
+@@ -28,7 +28,7 @@
+ all: $(PROG) 
+ $(PROG): $(OBJS)
+-      $(CC) $(OBJS) $(LIBS) -o $@
++      $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
+ install-program: all
+       install -sD $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
index 37b1dbc..42921df 100644 (file)
@@ -11,7 +11,8 @@ DESCRIPTION = "A small utility for binding commands to a hot key.\
  rather than just running another copy."
 PR = "r1"
 
-SRC_URI += " file://keylaunchrc"
+SRC_URI += " file://keylaunchrc \
+            file://makefile-fix.patch;patch=1"
 
 do_install_prepend () {
        install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc