File Makefile.patch of Package libhdhomerun
25
1
--- Makefile 2012-08-30 15:46:27.000000000 -0500
2
+++ ../Makefile.new 2013-03-16 03:34:33.000000000 -0500
3
4
LDFLAGS += -lpthread
5
SHARED = -shared -Wl,-soname,libhdhomerun$(LIBEXT)
6
7
+LBITS := $(shell getconf LONG_BIT)
8
+ifeq ($(LBITS),64)
9
+ LIB=lib64
10
+else
11
+ LIB=lib
12
+endif
13
+
14
ifeq ($(OS),Windows_NT)
15
BINEXT := .exe
16
LIBEXT := .dll
17
LDFLAGS += -liphlpapi
18
else
19
OS := $(shell uname -s)
20
- LIBEXT := .so
21
+ LIBEXT := .so.2
22
ifeq ($(OS),Linux)
23
LDFLAGS += -lrt
24
endif
25