[mw-devel] MW3 r999 - trunk/src
welshbyte at sucs.org
welshbyte at sucs.org
Sat Dec 1 12:18:20 GMT 2007
Author: welshbyte
Date: 2007-12-01 12:18:20 +0000 (Sat, 01 Dec 2007)
New Revision: 999
Modified:
trunk/src/Makefile
Log:
Make the name of the js lib a variable so we can override it on the make call on systems where it's called mozjs or something
Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile 2007-12-01 10:32:56 UTC (rev 998)
+++ trunk/src/Makefile 2007-12-01 12:18:20 UTC (rev 999)
@@ -11,11 +11,14 @@
# Full version number
VERSION=$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_TWEAK)
-
+
+# Name of the js library (differs between distros)
+JSLIB=js
+
# cflags for standard 'cc' compiler
CFLAGS+= -Wall -pedantic -fpie -std=gnu99 -D_GNU_SOURCE
LDFLAGS+= -pie
-LDLIBS+= -lreadline -lhistory -ltermcap -lcrypt -ljs -lsqlite3 -lcurl
+LDLIBS+= -lreadline -lhistory -ltermcap -lcrypt -l$(JSLIB) -lsqlite3 -lcurl
# info strings, do not edit.
DEFS:= -DBUILD_DATE=\"$(shell date +%Y%m%d)\"
More information about the mw-devel
mailing list