From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31959 invoked from network); 8 Mar 1999 01:59:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 8 Mar 1999 01:59:26 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id UAA00938 for ; Sun, 7 Mar 1999 20:53:41 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id SAA24872 for axp-list@redhat.com; Sun, 7 Mar 1999 18:53:39 -0700 From: Michal Jaegermann Message-Id: <199903080153.SAA24872@ellpspace.math.ualberta.ca> Subject: Re: mpg123 diff (Re: mpg123 rpms, need testing) To: axp-list@redhat.com Date: Sun, 7 Mar 1999 18:53:39 -0700 (MST) In-Reply-To: <19990307145558.R4936@csee.wvu.edu> from "Daniel J. Frasnelli" at Mar 7, 99 02:55:58 pm Content-Type: text > - $(OBJECTS) -o $(BINNAME) -lm $(AUDIO_LIB) > + $(OBJECTS) -o $(BINNAME) /usr/local/lib/libcpml.a $(AUDIO_LIB) ^^^^^ Shudder!!! Don't hardwire location of libraries that way in Makefiles. This is **stupid**! You will find yourself why in not so distant future. First of all your compiler, nearly certainly, searches /usr/local/lib so -lcpml would be just great. The second, if /usr/local/lib is not searched by a compiler (not bloody likely) you can always ask for that using -L option. Michal