diff options
Diffstat (limited to 'main/slim/pthread.patch')
-rw-r--r-- | main/slim/pthread.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/slim/pthread.patch b/main/slim/pthread.patch new file mode 100644 index 0000000000..9a1379ad10 --- /dev/null +++ b/main/slim/pthread.patch @@ -0,0 +1,11 @@ +--- ./Makefile.orig ++++ ./Makefile +@@ -7,7 +7,7 @@ + CC=/usr/bin/gcc + CFLAGS=-Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include + CXXFLAGS=$(CFLAGS) +-LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg -lrt ++LDFLAGS=-lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng12 -lz -lm -lcrypt -lXmu -lpng -ljpeg -lrt -lpthread + CUSTOM=-DHAVE_SHADOW + ifdef USE_PAM + LDFLAGS+= -lpam |