| « Asort for Mawk | Build a kernel 2.6 » |
You could also use ld options -Bstatic and -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 dynamically.