* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / games / classicube / libdir.patch
blob9a777d4ba750ac1d52155e39484897fa0ebe45f7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/classicube/libdir.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- a/Makefile
15 +++ b/Makefile
16 @@ -55,7 +55,7 @@ endif
18 ifeq ($(PLAT),linux)
19 CFLAGS += -DCC_BUILD_ICON
20 - LIBS = -lX11 -lXi -lpthread -lGL -ldl
21 + LIBS=$(shell pkg-config --libs xi x11) -lpthread -lGL -lm -ldl
22 BUILD_DIR = build-linux
23 endif