parent
2198a20ca5
commit
6d3f19a2be
@ -0,0 +1,17 @@
|
||||
syntax: glob
|
||||
.DS_Store
|
||||
|
||||
*.o
|
||||
*.Po
|
||||
*.Plo
|
||||
*.pc
|
||||
|
||||
libevent-*-stable/Makefile
|
||||
libevent-*-stable/config.h
|
||||
libevent-*-stable/config.log
|
||||
libevent-*-stable/config.status
|
||||
libevent-*-stable/include/Makefile
|
||||
libevent-*-stable/libtool
|
||||
libevent-*-stable/sample/Makefile
|
||||
libevent-*-stable/stamp-h1
|
||||
libevent-*-stable/test/Makefile
|
@ -0,0 +1,33 @@
|
||||
# Building libevent on OS X
|
||||
|
||||
## MacPorts
|
||||
|
||||
Install [MacPorts](https://www.macports.org/) for your
|
||||
[version of OS X/macOS](https://www.macports.org/install.php).
|
||||
|
||||
Note that you need [Xcode installed](https://www.macports.org/install.php)
|
||||
for MacPorts, and for building the engine. You also need to accept Xcode's EULA.
|
||||
|
||||
```
|
||||
sudo port install openssl
|
||||
sudo port install boost
|
||||
```
|
||||
|
||||
## libevent
|
||||
|
||||
```
|
||||
export LDFLAGS=-L/opt/local
|
||||
export CFLAGS=-I/opt/local/include
|
||||
|
||||
./configure --prefix $HOME
|
||||
|
||||
make
|
||||
make install
|
||||
```
|
||||
|
||||
## server/Makefile
|
||||
|
||||
```
|
||||
cd server
|
||||
make
|
||||
```
|
Loading…
Reference in new issue