pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solved: Linux devel/snappy pthread is missing on linux (patch)



Andreas Beck wrote:
--- Makefile    2018-12-02 17:51:57.929903221 +0100
+++ Makefile       2018-12-02 17:51:29.483901865 +0100
@@ -15,9 +15,6 @@ USE_CMAKE=            yes
 USE_LANGUAGES=         c c++

 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON -lpthread
-.if ${OPSYS} == "Linux"
-LDFLAGS+=      -pthread
-.endif

 .include "../../archivers/lzo/buildlink3.mk"
 .include "../../devel/googletest/buildlink3.mk"

correction:

--- Makefile    2018-12-02 17:51:57.929903221 +0100
+++ Makefile       2018-12-02 17:51:29.483901865 +0100
@@ -15,9 +15,6 @@ USE_CMAKE=            yes
 USE_LANGUAGES=         c c++

 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON -lpthread
+.if ${OPSYS} == "Linux"
+LDFLAGS+=      -pthread
+.endif

 .include "../../archivers/lzo/buildlink3.mk"
 .include "../../devel/googletest/buildlink3.mk"


Home | Main Index | Thread Index | Old Index