Contents of /trunk/slim/patches/slim-1.3.6-fix-libslim-libraries.patch
Parent Directory | Revision Log
Revision 2301 -
(show annotations)
(download)
Fri Oct 11 12:23:13 2013 UTC (10 years, 11 months ago) by niro
File size: 693 byte(s)
Fri Oct 11 12:23:13 2013 UTC (10 years, 11 months ago) by niro
File size: 693 byte(s)
-upstream slim patches
1 | diff -upr slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt |
2 | --- slim-1.3.6.orig/CMakeLists.txt 2013-10-02 16:16:22.000000000 +0300 |
3 | +++ slim-1.3.6/CMakeLists.txt 2013-10-02 16:19:57.000000000 +0300 |
4 | @@ -119,6 +119,7 @@ if(USE_PAM) |
5 | if(PAM_FOUND) |
6 | message("\tPAM Found") |
7 | set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM") |
8 | + target_link_libraries(libslim ${PAM_LIBRARY}) |
9 | target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY}) |
10 | target_link_libraries(slimlock ${PAM_LIBRARY}) |
11 | include_directories(${PAM_INCLUDE_DIR}) |
12 | @@ -178,6 +179,8 @@ include_directories( |
13 | ) |
14 | |
15 | target_link_libraries(libslim |
16 | + ${X11_Xft_LIB} |
17 | + ${X11_Xrandr_LIB} |
18 | ${JPEG_LIBRARIES} |
19 | ${PNG_LIBRARIES} |
20 | ) |