summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-09 09:31:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-09 09:31:21 +0000
commit61bb54b22b68c4ee8b83da22dc1a90e3779d19fc (patch)
treea861f257c902e0a0107249403874d24461456ef3 /media-libs/jpeg-compat/files
parentRemove pointless keepdir. (diff)
downloadgentoo-2-61bb54b22b68c4ee8b83da22dc1a90e3779d19fc.tar.gz
gentoo-2-61bb54b22b68c4ee8b83da22dc1a90e3779d19fc.tar.bz2
gentoo-2-61bb54b22b68c4ee8b83da22dc1a90e3779d19fc.zip
Respect LDFLAGS wrt #285541, thanks to Davide Pesavento for reporting.
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/jpeg-compat/files')
-rw-r--r--media-libs/jpeg-compat/files/jpeg-compat-6b-ldflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/jpeg-compat/files/jpeg-compat-6b-ldflags.patch b/media-libs/jpeg-compat/files/jpeg-compat-6b-ldflags.patch
new file mode 100644
index 000000000000..d3693ec32440
--- /dev/null
+++ b/media-libs/jpeg-compat/files/jpeg-compat-6b-ldflags.patch
@@ -0,0 +1,12 @@
+diff -ur jpeg-6b.orig/ltconfig jpeg-6b/ltconfig
+--- jpeg-6b.orig/ltconfig 1998-03-25 17:25:39.000000000 +0200
++++ jpeg-6b/ltconfig 2009-10-09 12:28:17.000000000 +0300
+@@ -716,7 +716,7 @@
+
+ # See if GNU ld supports shared libraries.
+ if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
+- archive_cmds='$CC -shared ${wl}-soname $wl$soname -o $lib$libobjs'
++ archive_cmds='$CC $LDFLAGS -shared ${wl}-soname $wl$soname -o $lib$libobjs'
+ runpath_var=LD_RUN_PATH
+ ld_shlibs=yes
+ else