Posted by mazet on Dec 13 2011 in Programmation, C
You could also use ld option -Bdynamic
gcc mixer.o \
-Wl,-Bstatic -lapplejuice \
-Wl,-Bdynamic -lorangejuice \
-o multifruitjuice
All libraries after it (including system ones linked by gcc automatically) will be linked dynamica… more »