diff options
Diffstat (limited to 'lib/Makefile.bsd-lib')
-rw-r--r-- | lib/Makefile.bsd-lib | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.bsd-lib b/lib/Makefile.bsd-lib index ec7cae44..51e9dc77 100644 --- a/lib/Makefile.bsd-lib +++ b/lib/Makefile.bsd-lib @@ -25,7 +25,8 @@ $(BSD_LIB): $(OBJS) (cd pic; ld -Bshareable -o $(BSD_LIB) $(OBJS)) $(MV) pic/$(BSD_LIB) . $(RM) -f ../$(BSD_LIB) - $(LN) $(BSD_LIB) ../$(BSD_LIB) + (cd ..; $(LN) $(LINK_BUILD_FLAGS) \ + `echo $(my_dir) | sed -e 's;lib/;;'`/$(BSD_LIB) $(BSD_LIB)) install-shlibs install:: $(BSD_LIB) @echo " INSTALL_PROGRAM $(BSDLIB_INSTALL_DIR)/$(BSD_LIB)" |