Added support for APXS_PATH to Makefile
This commit is contained in:
Родитель
3be1289836
Коммит
3757627bf0
6
Makefile
6
Makefile
|
@ -1,5 +1,7 @@
|
|||
CC=gcc
|
||||
MY_APXS=/usr/sbin/apxs
|
||||
ifneq ($(APXS_PATH),)
|
||||
APXS_PATH=/usr/sbin/apxs
|
||||
endif
|
||||
|
||||
MY_LDFLAGS=-lcurl -lyajl
|
||||
|
||||
|
@ -8,7 +10,7 @@ MY_CFLAGS=-Wc,-I. -Wc,-Wall
|
|||
|
||||
.SUFFIXES: .c .o .la
|
||||
.c.la:
|
||||
$(MY_APXS) $(MY_LDFLAGS) $(MY_CFLAGS) -c $<
|
||||
$(APXS_PATH) $(MY_LDFLAGS) $(MY_CFLAGS) -c $<
|
||||
.c.o:
|
||||
$(CC) -c $<
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@ Building and Installing
|
|||
=======================
|
||||
|
||||
```
|
||||
git clone git@github.com:mozilla/mod_browserid.git
|
||||
git clone https://github.com/mozilla/mod_browserid.git
|
||||
cd mod_browserid
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
(this assumes apxs is behaving properly on your system)
|
||||
(this assumes apxs is behaving properly on your system; set the APXS_PATH variable to your apxs or apxs2 as appropriate)
|
||||
|
||||
Dependencies
|
||||
============
|
||||
|
|
Загрузка…
Ссылка в новой задаче