libjio: Fix the order of the gcc arguments (objects vs. dynamic libraries)
commit1e8afd736112cc238b6937f67efdf5a7e0c1270e
authorAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 9 Feb 2012 00:37:18 +0000 (9 00:37 +0000)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Thu, 9 Feb 2012 00:44:03 +0000 (9 00:44 +0000)
tree022f6504a3bbce748ec6088650c9e775f362208e
parent92c8747307527541f5fe87d0e443acea22ff5bff
libjio: Fix the order of the gcc arguments (objects vs. dynamic libraries)

Newer gcc versions change the behaviour depending on whether the -l arguments
come before or after the objects.

gcc -shared -lx a.o -o s.so
  -> ldd s.so  will not show libx.so

gcc -shared a.o -lx -o s.so
  -> ldd s.so  will show libx.so

This patch changes the order of the arguments to match the last case.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
libjio/Makefile