mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
postgresql: fix pkg-config file
Currently the pc file has includedir hard coded to "/usr/include" and libdir to "/usr/lib". This commit changes this so they can be controlled via the "prefix" variable. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
--- a/src/port/Makefile
|
||||
+++ b/src/port/Makefile
|
||||
@@ -53,6 +53,7 @@ uninstall:
|
||||
@@ -63,6 +63,7 @@ uninstall:
|
||||
libpgport.a: $(OBJS)
|
||||
rm -f $@
|
||||
$(AR) $(AROPT) $@ $^
|
||||
+ $(RANLIB) libpgport.a
|
||||
|
||||
# thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not)
|
||||
# thread.o and thread_shlib.o need PTHREAD_CFLAGS (but thread_srv.o does not)
|
||||
thread.o: CFLAGS+=$(PTHREAD_CFLAGS)
|
||||
|
||||
Reference in New Issue
Block a user