SDL2_net-2.2.0

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 2. General Libraries

- Prev

  sdbus-c++-2.2.1

- Next

  seatd-0.9.2

- Up
- Home

# SDL2_net-2.2.0

## Introduction to SDL2_net

The sdl2_net package provides a cross-platform networking library.

- Download: https://github.com/libsdl-org/SDL_net/releases/download/release-2.2.0/SDL2_net-2.2.0.tar.gz

### SDL2_net Dependencies

#### Required

sdl2-compat

## Installation of SDL2_net

Install SDL2_net by running the following commands:

    ./configure --prefix=/usr     \
                --disable-static  \
                --disable-sdltest \
                --disable-examples &&
    make

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--disable-sdltest --disable-examples`: These parameters disable linking against a library that was deleted in sdl2-compat.

## Contents

Installed Programs: None
Installed Libraries: libSDL2_net
Installed Directories: /usr/lib/cmake/SDL2_net

### Short Descriptions

`libSDL2_net` | contains networking functions

- Prev

  sdbus-c++-2.2.1

- Next

  seatd-0.9.2

- Up
- Home