install to /usr/lib/ anyway

pull/5/head
Yu Qing 2015-10-10 11:37:11 +08:00
parent 21b1a0fae6
commit 75198e5005
2 changed files with 3 additions and 1 deletions

View File

@ -12,5 +12,6 @@ echo 'first local ip: ' . fastcommon_get_first_local_ip() . "\n";
$next_ip = null;
while (($next_ip=fastcommon_get_next_local_ip($next_ip)))
{
echo "next local ip: $next_ip\n";
$is_private_ip = fastcommon_is_private_ip($next_ip);
echo "local ip: $next_ip, private: $is_private_ip\n";
}

View File

@ -49,6 +49,7 @@ libfastcommon.a: $(FAST_STATIC_OBJS)
install:
mkdir -p $(DESTDIR)/usr/$(LIB_VERSION)
install -m 755 $(SHARED_LIBS) $(DESTDIR)/usr/$(LIB_VERSION)
install -m 755 $(SHARED_LIBS) $(DESTDIR)/usr/lib
mkdir -p $(DESTDIR)/usr/include/fastcommon
install -m 644 $(HEADER_FILES) $(DESTDIR)/usr/include/fastcommon
clean: