Skip to content

Commit

Permalink
Use LDLAGS to find libz
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Hajny committed Jan 5, 2016
1 parent 0b23ec4 commit 928f8d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ossec-server/distinfo
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $NetBSD$
SHA1 (ossec-hids-2.8.2.tar.gz) = a0f403270f388fbc6a0a4fd46791b1371f5597ec
RMD160 (ossec-hids-2.8.2.tar.gz) = bd65d5763e054a6289d78a52d07fbd8e3786c858
Size (ossec-hids-2.8.2.tar.gz) = 1635142 bytes
SHA1 (patch-src_Config.Make) = a0f3ca17eb5b70f5906c7eeb16bfba50d0a92a38
SHA1 (patch-src_Config.Make) = 7d9bf888090a2c908b66aa91d5ca7cedb8d35652
SHA1 (patch-src_InstallAgent.sh) = ef0346efad181ce45280ecbcb6604ed71631aaeb
SHA1 (patch-src_InstallServer.sh) = 9f076a5b215ff9fbfd621613c3f875897484b2ad
SHA1 (patch-src_Makeall) = f3b6d8fd08808221d2e9576ca854ee40300a2ef7
Expand Down
2 changes: 1 addition & 1 deletion ossec-server/patches/patch-src_Config.Make
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Use pkgsrc zlib.
OS_ROOTCHECK = ${PT}rootcheck/rootcheck_lib.a
OS_CONFIG = ${PT}config/lib_config.a
-OS_ZLIB = ${PT}os_zlib/os_zlib.c ${PT}external/libz.a
+OS_ZLIB = ${PT}os_zlib/os_zlib.c -lz
+OS_ZLIB = ${PT}os_zlib/os_zlib.c -lz $(LDFLAGS)
OS_LINK = ${IEXTRA}
OS_CJSON = ${PT}external/libcJSON.a -lm
DBS = cdb/cdb.a

0 comments on commit 928f8d1

Please sign in to comment.