mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
quasselc: add new package
quasselc is a library providing an API to access a Quassel core in pure C. Quassel is a distributed IRC client where the core can run independently of the interface(s). This library provides a C API for programs that wish to implement the Quassel protocol. Signed-off-by: Ben Rosser <rosser.bjr@gmail.com>
This commit is contained in:
18
libs/quasselc/patches/001-respect-cflags-ldflags.patch
Normal file
18
libs/quasselc/patches/001-respect-cflags-ldflags.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7994eea..b1f8d83 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2,11 +2,11 @@ prefix ?= /usr/local
|
||||
libdir ?= $(prefix)/lib
|
||||
includedir ?= $(prefix)/include
|
||||
|
||||
-CFLAGS:=-Wall -g -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -O2 -fPIC
|
||||
+CFLAGS+=-Wall -g -Wextra $(shell pkg-config glib-2.0 --cflags) -Wswitch-enum -std=gnu11 -fPIC
|
||||
SO_VERSION = 0
|
||||
VERSION = 0
|
||||
INSTALL = install
|
||||
-LDLIBS:=$(shell pkg-config glib-2.0 --libs) -lz
|
||||
+LDLIBS+=$(shell pkg-config glib-2.0 --libs) -lz
|
||||
|
||||
BOTLIBS := -Wl,-rpath,.
|
||||
|
||||
Reference in New Issue
Block a user