diff options
author | Nigel Kukard <nkukard@lbsd.net> | 2009-06-01 11:30:59 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-06-15 13:27:07 +0200 |
commit | 220dca451ef4b2f680ca35caacb29f6a6138068a (patch) | |
tree | 3ad25b823e5186259dc3968f5fe30a88b5b8175a /package/dmraid/dmraid_library-linking-fix.patch | |
parent | 56d63b6193954320fac13e10d3981fd385ec3245 (diff) | |
download | buildroot-novena-220dca451ef4b2f680ca35caacb29f6a6138068a.tar.gz buildroot-novena-220dca451ef4b2f680ca35caacb29f6a6138068a.zip |
dmraid linking against host system fix
dmraid is hard coded with -L$(DESTDIR)$(libdir) which tries to link in
the host systems' libs
Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/dmraid/dmraid_library-linking-fix.patch')
-rw-r--r-- | package/dmraid/dmraid_library-linking-fix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/dmraid/dmraid_library-linking-fix.patch b/package/dmraid/dmraid_library-linking-fix.patch new file mode 100644 index 000000000..a1c33c7c2 --- /dev/null +++ b/package/dmraid/dmraid_library-linking-fix.patch @@ -0,0 +1,15 @@ +Why on earth are we trying to link against the libdir in DESTDIR? + +Signed-Off-By: Nigel Kukard <nkukard@lbsd.net> +diff -ur dmraid_vanilla/1.0.0.rc15/tools/Makefile.in dmraid_library-linking-fix/1.0.0.rc15/tools/Makefile.in +--- dmraid_vanilla/1.0.0.rc15/tools/Makefile.in 2008-09-17 13:24:00.000000000 +0000 ++++ dmraid_library-linking-fix/1.0.0.rc15/tools/Makefile.in 2009-06-01 10:50:52.000000000 +0000 +@@ -56,7 +56,7 @@ + + dmraid: $(OBJECTS) $(top_srcdir)/lib/libdmraid.a + $(CC) -o $@ $(OBJECTS) $(LDFLAGS) -L$(top_srcdir)/lib \ +- -L$(DESTDIR)$(libdir) $(DMRAIDLIBS) $(LIBS) ++ $(DMRAIDLIBS) $(LIBS) + + install_dmraid_tools: $(TARGETS) + @echo "Installing $(TARGETS) in $(sbindir)"; \ |