postgresql: add missing librt dependency
authorDirk Neukirchen <[email protected]>
Fri, 21 Aug 2015 07:20:05 +0000 (09:20 +0200)
committerDaniel Golle <[email protected]>
Sun, 18 Oct 2015 22:41:59 +0000 (00:41 +0200)
fixes build error with uclibc

Signed-off-by: Dirk Neukirchen <[email protected]>
libs/postgresql/Makefile

index 33cb010abe4f3073df4af1289b50a1dd555cbd0f..dd4b28ef60fc56cc34f3a693970d8fad26c3c69d 100644 (file)
@@ -42,7 +42,7 @@ endef
 define Package/pgsql-cli
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libpq
+  DEPENDS:=+libpq @USE_UCLIBC:+librt
   TITLE:=Command Line Interface (CLI) to PostgreSQL databases
   URL:=http://www.postgresql.org/
   SUBMENU:=database
@@ -55,7 +55,7 @@ endef
 define Package/pgsql-server
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libpq
+  DEPENDS:=+libpq @USE_UCLIBC:+librt
   TITLE:=PostgreSQL databases Server
   URL:=http://www.postgresql.org/
   SUBMENU:=database